Results for “error messages”

Showing 21–25 of 25

  1. Challenge

    Command parser

    …own ValueError : catch it and raise yours, with a clearer message. set mode and abort Two more commands: set mode X , where X is one of MODES , returns ("set", "mode", X) , and abort , with no values…

    Write the code Medium 2 stages project parsing strings split
  2. Challenge

    Log line format

    …tools filter them by level, and alarms go off when an ERROR line appears. That only works if every line has exactly the same shape: [T+00:12:05] INFO Engines nominal The time since launch in square…

    Write the code Easy 2 stages f-strings print logs formatting
  3. Article Python Fundamentals

    A Practical Guide to Getting Started with Programming

    …Try this step-by-step guide to get unstuck: Google the error message Ask in our community section - each example and challenge has its own community tab or use our general community section . Ask any…

  4. Article Mini projects

    Calculate your weight on different planets in Python

    …calculates the weight and displays it. If not, it shows an error message. Let's put it all together. Note that our program calculates weight in Newtons (N), not kilograms (kg). This is because weight…