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

0

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

+3

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.

+3

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

+1

Oh i see. Thanks! :D

0

Interactive mode?