Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def tenPercentAday(funds, days=0):
- while (funds <= 1000000):
- return tenPercentAday(funds*1.1, days+1)
- return days
- print(tenPercentAday(3000))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement