使用清单理解:
def power(my_list): return [ x**3 for x in my_list ]
https://docs.python.org/3.4/tutorial/datastructures.html#list-
comprehensions

使用清单理解:
def power(my_list): return [ x**3 for x in my_list ]
https://docs.python.org/3.4/tutorial/datastructures.html#list-
comprehensions