This commit is contained in:
2022-05-13 21:29:55 +02:00
parent e9c199e029
commit a2414cf7ef

10
pot.py Normal file
View File

@@ -0,0 +1,10 @@
n = int(input())
sum = 0
for _ in range(n):
x = int(input())
base = x // 10
exponent = x % 10
sum += pow(base, exponent)
print(sum)