Nov-15-2019, 05:52 AM
def return () #. #. #. while (a>b): print("This value is wrong.") question=input("Do you want to return to the start? Enter Y for Yes or N for No") if (question==Y): return() break else: print("The value is right") return()The code above is an example. The code to go back to the start of the program is working. The problem is now the indentation of the IF function inside the WHILE function for return() and break working.