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

10th Feb 2017, 12:53 PM
MANO VENKATESH
MANO VENKATESH - avatar
2 Answers
+ 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);
10th Feb 2017, 2:07 PM
visph
visph - avatar
0
ooo great brooo...!!! its working...thank u soo much fr ur reply...!!!
10th Feb 2017, 2:36 PM
MANO VENKATESH
MANO VENKATESH - avatar