Error while executing | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Error while executing

Finding whether a no is palindrome or not https://code.sololearn.com/c4NaCtUytg0R/?ref=app

2nd Aug 2021, 11:56 AM
Raj
3 Answers
2nd Aug 2021, 12:03 PM
Roma Butaku
Roma Butaku - avatar
+ 5
You have a missing = on line 5, and "if" on line 7 should be lowercase.
2nd Aug 2021, 1:11 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
But in python exist easier decision for this problem https://code.sololearn.com/cgvtAfiFzRDp/?ref=app
2nd Aug 2021, 1:21 PM
Roma Butaku
Roma Butaku - avatar