In the following program, users are asked if they want to “s…
In the following program, users are asked if they want to “say hello” again or leave. Which of the following options could be entered by the user to make the program print Hello another time? Select all that apply. while True: print(‘Hello!’) goAgain = input(‘To say hello again, enter “y”. To leave, enter “n”: ‘) if len(goAgain) > 1: goAgain = goAgain[0] goAgain = goAgain.casefold() if goAgain == ‘n’: break
Read Details