Zadanie 4 #34
@ -11,7 +11,7 @@ class Polynomial:
|
||||
|
||||
def __pow__(self, n):
|
||||
result = self
|
||||
for i in range(n):
|
||||
for _ in range(n):
|
||||
result = Polynomial.multiply(result, result)
|
||||
return result
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user