0

How do i do multiple inputs ?

I wanted to do a questionnaire for an application for example. I wanted to run this a = input ("enter your age: ") b = input ("enter your name: ") print(a) print(b)

1st Oct 2017, 1:03 AM
TomĂĄs Nascimento
TomĂĄs Nascimento - avatar
1 Answer
+ 2
https://code.sololearn.com/c20XhkdYcZLY/?ref=app you can use split command for that. I attached code. The input is to be given like: abcd efgh then it prints abcd efgh you can change the input type to int or float for numbers.
1st Oct 2017, 3:35 AM
srihitha reddy
srihitha reddy - avatar