Trying to write a function but don't known how to start.
trying to make a function that ask the user for the current population and displays the population after 1/2 years unitil it reaches 1 million at a rate of 8% per year. for example
Year 1, population 864000
Year 2, population 933120
Year 3, population 1007769
I been told to use a while loop. but the problem is I don't known how to set the question out in python codes. Please help!