variables are set to strings instead of integerscausing the bug in the debug inspector paneyou should see that the firstsecondand third variables are set to string values ' '' 'and ' instead of integer values and when the last line is executedpython concatenates these strings instead of adding the numbers togethercausing the bug stepping through the program with the debugger is helpful but can also be slow often you'll want the program to run normally until it reaches certain line of code you can configure the debugger to do this with breakpoints breakpoints breakpoint can be set on specific line of code and forces the debugger to pause whenever the program execution reaches that line open new file editor tab and enter the following programwhich simulates flipping coin , times save it as coinflip py import random heads for in range( )if random randint( = heads heads if = print('halfway done!'print('heads came up str(headstimes 'the random randint( call will return half of the time and the other half of the time this can be used to simulate / coin flip where represents heads when you run this program without the debuggerit quickly outputs something like the followinghalfway doneheads came up times debugging