+ 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

20th Sep 2017, 6:29 AM
Sibusiso Mbambo
3 Antworten
+ 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.
20th Sep 2017, 6:33 AM
Hatsy Rei
Hatsy Rei - avatar
+ 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.
20th Sep 2017, 6:38 AM
ChaoticDawg
ChaoticDawg - avatar
0
thanks
20th Sep 2017, 6:43 AM
Sibusiso Mbambo