+ 2

Length

Why does zeros.length return 1 every time? https://code.sololearn.com/Wm0CPovm9N4L/?ref=app

24th Sep 2018, 1:26 AM
Daniel Cooper
Daniel Cooper - avatar
1 Réponse
+ 2
ODLNT I forgot that I changed the code. Lol. The code was completely different. It works fine now. But the length of a value was returning 1 no matter how many zeros were present. I fixed it tho. Lol
24th Sep 2018, 3:21 AM
Daniel Cooper
Daniel Cooper - avatar