+ 2
Can you use multiple inputs?
can i use mutiple times : input()
5 Respuestas
+ 1
You can use input as many times as you want. It's just like any other function.
+ 1
when i use it like this:
input("question 1")
input("question 2")
i only get one input....
+ 1
Did you hit the enter or return key? The input function won't return until you do.
+ 1
thanks!
0
i think we have to sperate two inputs by breaking like into two line for taking two inputs otherwise on the basis of this
input("question 1")
input("question 2")
output will be shown as
12
Try like this
input("question 1")
input("\n question 2")