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
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)