+ 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 odpowiedzi
+ 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