+ 1

Please help

Study this code and tell what is the problem It has multiple inputs When I run code it says looks like your program needs input And it wants all inputs at same time https://code.sololearn.com/cD5o3KBgZd9g/?ref=app

22nd Sep 2020, 12:40 PM
Aditya Sonwane
Aditya Sonwane - avatar
5 Answers
+ 6
Asking for all inputs at the start of the program is a feature of SoloLearn's Code Playground. It is likely that there is nothing wrong with your code, it is just that if you want to test it by providing inputs during the running, you will need to run it in another IDE.
22nd Sep 2020, 1:02 PM
Russ
Russ - avatar
+ 6
Hi Aditya Please could you point out the main issue or what you think is an issue in this code? It would help us to have you and easier and faster as we might have to go through irrelevant parts of the code! We're all more than happy to help!
22nd Sep 2020, 12:44 PM
Vachila64☕
Vachila64☕ - avatar
+ 5
Aditya, - the identifier / variable name "nome" is never declared / initialized but is used frequently in the code - there is an elif following after an else - that is not possible - the code itself is difficult to read, because you have used a mix of tabs and spaces for indentation. Also the width of indentation is inconsistant and does not meet the standards. should be 4 chars or at least 3 chars And, you should try to read the error messages coming from python carefully, to fix your problem. It is not enough to say: ... not working.
22nd Sep 2020, 1:10 PM
Lothar
Lothar - avatar
+ 3
People really don't have that much time to study someone's code from scratch and point out the problems with a solution ,you should be descriptive about your problem with expected inputs and outputs , that said you need to provide all the inputs in sololearn at first time only since it's not interactive
22nd Sep 2020, 12:45 PM
Abhay
Abhay - avatar
+ 2
Nasif Rahman not working
22nd Sep 2020, 12:53 PM
Aditya Sonwane
Aditya Sonwane - avatar