Enter two inputs at the same time? | Sololearn: Learn to code for FREE!


Enter two inputs at the same time?

Shouldn't the program prints output "enter a number" and then wait for an input, and then output "enter another number" and then wait another input. Before printing both numbers?

4/30/2019 4:05:14 AM

FarEast Frez

4 Answers

New Answer


FarEast Frez When you are running your program in interactive mode then ideally yes. If you are running through some script (automation) then you supply all input at once like you do it here at sololearn.


FarEast Frez The description in your question is called interactive mode (print(by program)-wait(for input)-print-wait....


Oh i see. Thanks! :D


Interactive mode?