1
1
forked from kalmar/DALGLI0

Update 'Zadanie-4/poly.py'

This commit is contained in:
Szymon Wojciechowski 2018-06-28 12:40:44 +00:00
parent 0947fadbdf
commit fc718efb6c

View File

@ -11,7 +11,7 @@ class Polynomial:
def __pow__(self, n): def __pow__(self, n):
result = self result = self
for i in range(n): for _ in range(n):
result = Polynomial.multiply(result, result) result = Polynomial.multiply(result, result)
return result return result