Results for “bug report”

4 results

  1. Challenge

    Environment check

    Every useful bug report starts with the Python version. Ask Python for it with the platform and sys modules and print it the way python --version does.

    Write the code Easy 3 stages platform sys python version bug report
  2. Challenge

    Catch what you expect

    A bare except: reports every fuel reading as bad, because it also catches a NameError from a typo. Predict the last line, find the hidden error, catch only ValueError and fix the typo, then write a…

    Fix the code Medium 3 stages errors try except ValueError
  3. Challenge

    Parser function

    …one loop in one program. The alert checker and the daily report want to parse telemetry lines too, and copying the loop into each of them is how bugs get fixed in one place and not the other. Turn the…

    Fix the code Medium 2 stages functions return dictionaries None