The code below is supposed to classify cities into 4 categories (million — large — medium — small) based on their population.
Put the lines of code in the correct order. Make indents when needed.
The code below is supposed to classify cities into 4 categories (million — large — medium — small) based on their population.
Put the lines of code in the correct order. Make indents when needed.
print("This is a small city")
elif population > 100000:
print("This is a medium city")
print("This is a large city")
else:
if population > 1000000:
elif population > 350000:
print("This is a million city")
Create a free account to access the full topic