0
"else" function not working
Everything but the "else" function works here, but I don't understand what doesn't work. I've tried indentation and line spacing, as well as elif. Does someone know what's wrong? https://code.sololearn.com/cO7AREzjp4rp/?ref=app
11 ответов
+ 6
+ 1
~ swim ~
It just goes to the "else", then it ends. Thanks for your help
0
Code indent your code, you cannot compile a code like this 🙄
0
It works without the else.
0
Nope does not work either
0
Ident the code
0
I got it to work
0
Not the else, but everything else
0
Koder King, it skips right over the second input.
0
~ swim ~
Thank you. I'll try to keep that in mind. However, the code you suggested skips right over the "How are you?" line, allowing for two inputs with nothing to separate them. I do appreciate the ideas everyone has.
0
~ swim ~
That does work (though the second else isn't needed)