- 1
Múltiples inputs?
Hi, How can I do to put a variable in multiple inputs when i run the code? Thanks
4 Respostas
+ 3
You need to know how many inputs are to be given in program ,and then give them all at once ,each one in new line
suppose there are two inputs
a=input()
b=input()
then you need to enter like this
3
4
+ 7
It's still not clear what you are going to achieve. So please make a sample input, and how it should look like. Thanks!
+ 5
Are you talking about python?
0
A=list(map(" ",input().split()))