if you ever run program that has bug causing it to get stuck in an infinite looppress ctrl- or select shell restart shell from idle' menu this will send keyboardinterrupt error to your program and cause it to stop immediately try stopping program by creating simple infinite loop in the file editorand save the program as infiniteloop py while trueprint('helloworld!'when you run this programit will print helloworldto the screen forever because the while statement' condition is always true ctrl- is also handy if you want to simply terminate your program immediatelyeven if it' not stuck in an infinite loop while trueprint('who are you?'name input(if name !'joe'continue print('hellojoe what is the password(it is fish )'password input(if password ='swordfish'break print('access granted 'if the user enters any name besides joe the continue statement causes the program execution to jump back to the start of the loop when the program reevaluates the conditionthe execution will always enter the loopsince the condition is simply the value true once the user makes it past that if statementthey are asked for password if the password entered is swordfishthen the break statement is runand the execution jumps out of the while loop to print access granted otherwisethe execution continues to the end of the while loopwhere it then jumps back to the start of the loop see figure - for this program' flowchart flow control