Oct-30-2017, 09:26 PM
try/except is designed to handle errors- your except code will only run if your code has an error. You can check this by taking out the try/except to see what happens. I'm not positive, but it looks like your code won't cause any errors if the city isn't included.
Do you have to use try/except?
Do you have to use try/except?