+ 1
Can anyone tell me why this code is giving error
Please test the code and see why it giving an error https://code.sololearn.com/c5n6cE9wgAjE/?ref=app
3 Answers
+ 9
You seem to have pasted this from a different environment. This causes the code to contain invisible unicode characters. You have to manually remove them.
+ 4
Yup, they are between your last print statement and the next curly brace and then between each of the following curly braces. Once I deleted them the code ran fine.
0
thanks