Guest User

Untitled

a guest
Oct 24th, 2022
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. def nb_year(p0, percent, aug, p):
  2.     count = 0
  3.    
  4.     while p0<p:
  5.         p0 = p0 + p0*(percent/100) + aug
  6.         count += 1
  7.        
  8.     return count
Advertisement
Add Comment
Please, Sign In to add comment