0

Please help me out, it is showing only "not a neon number" but there are numbers which are neon

https://code.sololearn.com/cX1cwmN1uSN6/?ref=app

22nd May 2022, 2:05 AM
五条悟 ♡
五条悟 ♡ - avatar
3 Antworten
+ 2
What happens if you reset s=0; before entering the loop in line 13 and compare s against i (not n) in line 18. Does that produce the desired result?
22nd May 2022, 2:35 AM
Ani Jona 🕊
Ani Jona 🕊 - avatar
+ 3
Thank you so much 😊 sir/ma'am
22nd May 2022, 2:50 AM
五条悟 ♡
五条悟 ♡ - avatar
+ 2
You're welcome :)
22nd May 2022, 2:51 AM
Ani Jona 🕊
Ani Jona 🕊 - avatar