In order to get a practical idea of how you can use Thonny’s features, you’re going to create and debug a program. You’ll start by importing SimpleCalculator
from calculator.simple
and then create a new instance of SimpleCalculator
.
Then, you’ll introduce a bug to the program. You’ll add a function with a docstring. After you try to call the function, you’ll use the debugger to see what went wrong. You’ll start by opening up the Variables window to see what’s happening as the program runs.
kwf777 on Dec. 2, 2019
I know capitalization is important but I cannot get my code torun after changing it several times:
Shell: