0
How to get more than two input in single line with seperation of blank space...???
I want to know how can we give more than two input separated by blank space in python.....please give the method with explanation
2 Réponses
+ 2
You need to handle only one input, and separate the user string into many part by yourself...
str = input( 'type many words separated by spaces: ' )
str = str.split( ' ' )
for word in str:
print(word);
0
ooo great brooo...!!! its working...thank u soo much fr ur reply...!!!