+ 1

Pls help:

I typed this code for finding spy numbers but it's not working please help me fix this🙃☺️ https://code.sololearn.com/c2gXrX8zXNXu/?ref=app

13th May 2018, 6:51 AM
Bala Krishnan V
Bala Krishnan V - avatar
3 Respuestas
+ 2
in line 8 you get a float by dividing the ints, but what you need is the floor division: n=n//10
17th May 2018, 10:40 AM
loeckchen[INACTIVE]
+ 3
yaay! ^-^ always welcome
17th May 2018, 10:50 AM
loeckchen[INACTIVE]
0
thanks loeckchen it works now
17th May 2018, 10:49 AM
Bala Krishnan V
Bala Krishnan V - avatar