fork(1) download
  1. pop = 8.0 # bil
  2. ded = 109.0 # bil
  3. year = 0
  4. while pop < ded:
  5. ded += pop * 0.0075
  6. pop += pop * 0.01
  7. year += 1
  8. print(year)
Success #stdin #stdout 0.02s 9124KB
stdin
Standard input is empty
stdout
397