1. foreach 1. foreachvar inputs = [...]int{0, 1, 3, 9, 27, 33, 54, 81}for _, e := range inputs { fmt.Println(isPowerOfThree(e))}