DEV Community

Discussion on: Covid19 live tracker

Collapse
 
salahyoumir profile image
salah youmir

Thank you,
I would add a small elif to manage the case of a wrong country name input.
put the country_name=input("Enter the Country name: ") inside the function
and add an else statement :

else:
print("This country doesn't exist")
covid19()

Thank you for this article, looking forward to read more from you

Collapse
 
sunilaleti profile image
Sunil Aleti

Thanks for pointing it out :)