Golang Access Last Element Of Array Python Questions For If Statement