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):
result = self
for i in range(n):
for _ in range(n):
result = Polynomial.multiply(result, result)
return result