This week's lab focused on finding errors in python scripts and fixing them, thus allowing the script to run successfully. We used tools such as the check button and the debugger to identify the script errors and learned a little about what each error means. I found that simply running the code and reading the error message in the interactive window to be the best way to identify errors. I had a few issues with the debugger, such as the my yellow triangle disappearing and the debugger simply not working occasionally. I'd like to spend more time figuring out the usefulness of the debugger tool. The lab was divided into three parts with unique instructions for each. Screenshots with descriptions of my process can be found below.
Part one was a simple script that contained 2 errors. I identified these errors as syntax errors pretty easily using the check button. I was able to correct these and move on to the next script. Script 1 results are found below.
|Script #1 Result|
|Script #2 Result|
|Script #3 Result|