+ 1
multiple input at once in python
Can someone please explain me how to take input of several variables from user in one line.
10 Réponses
+ 8
Use appropriate type conversion for needed inputs
+ 7
Wasn't what I did an example.
Let me put that into use in an example code sokn.
+ 6
For example,
input_list=input().split()
#gets a list of strings
+ 5
You can take in inputs separated by spaces then split
+ 1
can you please give an example of this
+ 1
i understood that, thank you
+ 1
i wanted ask about integers and floats
+ 1
thank you so much
0
ok