Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Debugging Code Using Python

via CodeSignal

Overview

Immerse yourself into one of the most essential aspects of programming - Debugging and Troubleshooting. This course sheds light on common instances that cause errors and exceptions in Python programs, as well as how to handle and rectify them. By the end of this course, you will have a good grasp of how to fix bugs and troubleshoot your code in a systematic way.

Syllabus

  • Lesson 1: Decoding Python Error Messages: A Beginner's Guide
    • Debugging the Ingredients List
    • Debugging the Recipe Cost Calculation
    • Debugging the Pancake Recipe Cost Calculation
    • Debugging the Kitchen Ingredients List
    • Debugging the Ingredient List 2
  • Lesson 2: Nailing Syntax Errors: A Beginner's Guide to Debugging Python Code
    • Mayday, Mayday! Squash the Syntax Error!
    • Correcting Message Transmission Error
    • Rescuing the Disconnected Spaceman
    • Fixing the Mathematical Message
    • Debugging the Universal Greeting
  • Lesson 3: Decoding Logical Errors: Understanding and Debugging Python Programs
    • Misbrewed Coffee Volume
    • Decoding the Coffee Machine's Drink Volume
    • Brew Correct Coffee Orders
    • Spot the Coffee Order Mix-up
    • Bugging Out: Fix the Coffee Volume Mix-up
  • Lesson 4: Navigating Through Python Exceptions: A Beginner's Guide
    • Adding a Key to Python Dictionary
    • Navigating the Cosmos of Python Dictionary
  • Lesson 5: Error Handling in Python: Diving into "Try" and "Except" Blocks
    • Fuel Division for Space Rockets
    • Changing the String Value to Convert into Integer
    • Rocket Speed Correction in Space Travel Calculation
    • Retrieving Celestial Body Mass with Exception Handling
    • Calculating Planetary Mass Ratios with Exception Handling
  • Lesson 6: Mastering the 'Finally' Block in Python's Exception Handling
    • Handling Errors in a Deserted Office
    • Troubleshooting the Fire Alarm
    • Fix the Room Items List Display
    • Access and Handle Missing Keys in a Python Dictionary
    • Revise Your Office Tasks List

Reviews

Start your review of Debugging Code Using Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.