Power to in Python
def power(number,to): 'potenz' result=number for i in range(int(to)-1): result=result*number return result
Author:Marcin
Language:Python 3.4
Info: The implementation of the power to math function in python. Its not limited, only by your ramspace ,)
Language:Python 3.4
Info: The implementation of the power to math function in python. Its not limited, only by your ramspace ,)
No comments:
Post a Comment