Python
n=int(input('Введите кол-во дней N:'))
a=10
z=10;
for i in range (1,n):
a+=a*0.1
z+=a
print(round(z,2))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Python
n=int(input('Введите кол-во дней N:'))
a=10
z=10;
for i in range (1,n):
a+=a*0.1
z+=a
print(round(z,2))