0

Accepting all user inputs at once

name=input() print('Hey Champ, Please click on OK to confirm your name is'+name) age=input() print('Hey Champ, Please click on OK to confirm your age is'+age) In above code, it is taking both the user name at the same time. I want first user to enter its name, see print message about confirming name and then enter its age.

20th Aug 2020, 2:47 PM
Divya
2 Antworten
+ 4
It is not possible here in Code Playground. It is very possible if you run your code in local editor or terminal/command prompt.
20th Aug 2020, 2:52 PM
Ipang