months_kol = int(input())
p = int(input())
vkl = 1000
for i in range(months_kol):
vkl += vkl*p/100
print(vkl)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
months_kol = int(input())
p = int(input())
vkl = 1000
for i in range(months_kol):
vkl += vkl*p/100
print(vkl)