Why is my table returning an error?
{'France': 'Paris', 'Spain'; 'Madrid', 'United kingdom': 'London',
'India':'New Delhi', 'United States': 'Washington DC', 'Italy':'Rome',
'Denmark':'Copenhagen', 'Germany': 'Berlin', 'Greece':'Athens',
'Bulgaria':'Sofia', 'Ireland':'Dublin, 'Mexico':'Mexico City'
5 answers ( 0 marked as helpful)
Hey Ferdinand,
Thank you for reaching out!
Could you please provide a screenshot of your code together with the error you are getting?
Kind regards,
365 Hristina

This is it.
Hey again Ferdinand,
Notice that you are missing a quotation mark after Dublin. Once you add it, your program should run without further errors.
Kind regards,
365 Hristina

Thank you for your respond. But it is still not running and I could not debug it.
Hey again Ferdinand,
As the error reads, somewhere in your code there is a variable called user that you haven't declared but you have tried to use. The following code on line 348:
user.input.lower()
implies that you are trying to use a variable user
(that you haven't declared) while instead you want to use the variable user_input
like so:
user_input.lower()
Hope this helps.
Kind regards,
365 Hristina