Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = float(input("początkowa stawka: "))
- y = int(input("ilość dni: "))
- p = int(input("procent wzrostu dziennie: "))
- i = 0
- for i in range(y):
- x += x * (p / 100)
- i += 1
- print(x)
Advertisement
Add Comment
Please, Sign In to add comment