+ 1

I can't pass the one test. Heeeelp 😱

My program can't pass the one test. Program pass well 3 test but one test return fail, I can't look the error because on her lock, text about error is hide. I thought maybe my mistake is I don't check user input a variable on this string, but this is wrong. https://code.sololearn.com/cu5PWmw3t6he/?ref=app

2nd Apr 2022, 6:39 PM
Alexandr Grebyonkin
Alexandr Grebyonkin - avatar
3 ответов
+ 3
Your code allows numbers that are more than eight digits long.
2nd Apr 2022, 6:47 PM
Simon Sauter
Simon Sauter - avatar
+ 2
It failing when input length is more than 8 Ex: 8999999999 is invalid.
2nd Apr 2022, 6:48 PM
Jayakrishna 🇮🇳
+ 1
😁 Looks like it's time for me to go to bed. I always write eight symbols or less.
2nd Apr 2022, 6:59 PM
Alexandr Grebyonkin
Alexandr Grebyonkin - avatar