Ad
Mathematics
Algorithms
Logic
Numbers
Fundamentals
Code
Diff
  • def population_tracking(i, c, n):
        return -(-i*((1+(c/100))**(n))//1)
    • import math
    • def population_tracking(i, c, n):
    • return math.ceil(i*((1+(c/100))**(n)))
    • return -(-i*((1+(c/100))**(n))//1)