EOFE Solution? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

EOFE Solution?

https://code.sololearn.com/cNfk8432zz2p/?ref=app Mhmm, any solution? Because this is my first type encountering this error and I can’t really get what the error is about... yes i have searched about it..

8th Feb 2019, 9:33 AM
Dingo
Dingo - avatar
4 Answers
+ 1
It happens because one of your input functions recieve no input. Remember in SL for input to work as intended you have to pass it at the beginning of the program when prompt appears. In your instance it should look like: Dingo 90 I guess it's not ur age but it's just to show correct input :D
8th Feb 2019, 10:55 AM
Jakub Stasiak
Jakub Stasiak - avatar
0
so, do i predefine the variable age to 90? and how do i send input to both input of age and name? Jakub Stasiak
8th Feb 2019, 10:57 AM
Dingo
Dingo - avatar
0
You can predefine variables and then check input if it have any value. If no value is passed then use predefined value ^^ What I originally meant was that at the start of your program you need to "fill" every input in your program in the way I've shown you in first post.
8th Feb 2019, 11:04 AM
Jakub Stasiak
Jakub Stasiak - avatar
8th Feb 2019, 11:13 AM
Dingo
Dingo - avatar