10 lines
191 B
Python
10 lines
191 B
Python
def x_hoch_y(x, y):
|
|
return x**y
|
|
#alternativ: return pow(x,y)
|
|
|
|
print("13 hoch 7 ist: ", x_hoch_y(13,7))
|
|
|
|
print("2 hoch 9 ist: ", x_hoch_y(2,9))
|
|
|
|
print("4 hoch 2 ist: ", x_hoch_y(4,2))
|