# DEBUG 02 - CONTINUE BUTTON (RUN) #-------------------------------- import os os.system('clear') """ REMOTE CONTROL DEBUG PANEL: THREE IMPORTANT BUTTONS CONTINUE (F5) The "continue" button will bring us to the next break point and stop there before executing it. STOP EXECUTION (SHIFT + F5) The "stop the execution" button will stop the file from running. RESTART (SHIFT + CMD + F5) The "restart" button will restart the file from scratch completely. BREAKPOINTS Python is about to execute the line but hasn't executed the line yet CALL STACK - Shows the actual executed lines - Shows the invoking line """ print('debugging is amazing') # 1st breakpoint def lets_play_around(): # create a function starting_points = 7 print('The game is on') # 2nd breakpoint print('The game has ended') finishing_points = 42 return finishing_points # 3rd breakpoint final_grade = lets_play_around() # invokes the function print(lets_play_around())