+ 2
How do we create a loop that asks to users to fill the input() in python ? If it doesnât fill the asked informations come again
Name = input( âEnter your nameâ) Age = input( âEnter your nameâ)
2 RĂ©ponses
+ 9
Before we can help you, please do a try by yourself, put the code in playground, and link it here.
To give you a hint, how it can be done:
use a loop , and store your inputs a n variables.
give a condition for the loop, that it should run as long as any of the variables is empty. If they are not empty, the code after the loop will be executed.
+ 1
oh thank you