# DEBUG 03 - STEP OVER #--------------------- import os os.system('clear') """ F5: RUN THE CODE Run python line by line to the next breakpoint alternatively to the end. Follow the logical path of the code. F10: STEP OVER Move to the next line in the current scope. Stops even without breakpoints. Noteworthy: We allways stay in the current scope. Well, almost allways (check the upcoming file for an exception) What is a scope? - A file is a scope. - A function body is a scope. """ print('debugging is amazing') # only one breakpoint def lets_play_around(): # declare the function starting_points = 7 print('The game is on') print('The game has ended') finishing_points = 42 return finishing_points final_grade = lets_play_around() # invoke the function print(lets_play_around()) # invoke the function