@tesla809/

Growth rate estimations

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
def weekly_increase(x):
  return x * 0.25

def num_of_weeks(people_num, weeks):
  people_total = people_num
  for i in range(0, weeks):
    people_total += weekly_increase(people_total)
    print('people total', people_total)
  return people_total

result = num_of_weeks(30, 20)

print(result)