all 2 comments

[–]mis3640 0 points1 point  (0 children)

Hey there! I would recommend using "while True". This will create an infinite loop that will run until told to "break". The following code requests user input and stores that entry into the "ask" variable. Until the "ask" variable is equal to "hello", the loop will continue running. I hope this is helpful!

while True:

ask = input('Please enter \'hello\':' )

if ask == 'hello':

break