Advertisement
lerakaneva

growth

Aug 27th, 2023
1,617
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. # put your python code here
  2. amount = int(input())
  3. growth_percent = int(input()) * 0.01
  4. days = int(input())
  5.  
  6. for day in range(days):
  7.     print(day + 1, amount)
  8.     amount *= (1 + growth_percent)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement