+ 1

How to ask at different times for input?

In Python, you can take multiple inputs using split() after calling the user to action with input (). I want to know if there is a way to call the user again; because, I want to have a part of the program run and then prompt the user again, then finish the rest of the program wiith more information from user (not beforehand). Is there a way to do this? My process involved using input() twice and resulted in EOF Error at the second time using it. Thanks.

15th May 2020, 8:17 AM
Md. Niamul Ahad Chowdhury
Md. Niamul Ahad Chowdhury - avatar
5 Respostas
+ 4
Md. Niamul Ahad Chowdhury Yes but not here because Sololearn terminal is different than others IDEs so here you have to take only once.
15th May 2020, 8:24 AM
A͢J
A͢J - avatar
15th May 2020, 8:20 AM
Kevin ★
+ 2
Md. Niamul Ahad Chowdhury If you are asking on Sololearn then you can't do here.
15th May 2020, 8:20 AM
A͢J
A͢J - avatar
+ 1
AJ #Infinity Love Thanks a lot.
15th May 2020, 8:24 AM
Md. Niamul Ahad Chowdhury
Md. Niamul Ahad Chowdhury - avatar
0
AJ #Infinity Love where can I do it? On PC?
15th May 2020, 8:21 AM
Md. Niamul Ahad Chowdhury
Md. Niamul Ahad Chowdhury - avatar