vault backup: 2023-11-20 14:39:24
This commit is contained in:
parent
c35124aba6
commit
92b5e2f517
@ -48,5 +48,9 @@ def productZ(x, y):
|
||||
|
||||
## Exercise 1.3
|
||||
```
|
||||
def exponentiation(x: int, n: int) -> int:
|
||||
|
||||
def exponetial(x: int, n: int) -> int:
|
||||
result = 0
|
||||
while n > 0:
|
||||
m *= x
|
||||
n -= 1
|
||||
return result
|
Loading…
x
Reference in New Issue
Block a user