How can I raise the numbers in list to a certain power?
Use list comprehension:
def power(my_list): return [ x**3 for x in my_list ]
https://docs.python.org/3.4/tutorial/datastructures.html#list-comprehensions