5 lines
No EOL
79 B
Python
5 lines
No EOL
79 B
Python
def puissance (x,y):
|
|
p = x
|
|
for i in range (y - 1):
|
|
p = p * x
|
|
return p |