Results for “operators”

Showing 11–14 of 14

  1. Challenge

    Missing field

    …given a pad yet. Instead of a board with one blank, the operators got an error and no board at all. Predict what happens, find out what the dict really holds, fix it, then build a board that copes…

    Fix the code Easy 3 stages dictionaries KeyError get default values
  2. Challenge

    Skip blanks and comments

    …at the top, blank lines between blocks, notes from the operators, and now and then a reading that arrived cut off. Teach the parser to skip what it can't use and to keep going when a line is damaged…

    Write the code Medium 2 stages for loop continue strip startswith
  3. Challenge

    Validate a command

    …three commands from the console: start, stop and status. Operators type them in every possible way, and sometimes type something it doesn't know at all. Accept the three commands however they are…

    Write the code Easy 2 stages if elif else input
  4. Challenge

    Survive bad lines

    …, with a letter l, is a typo from the ground station's operator, so it is skipped too. One try, with the reason Unpacking a line with too few fields raises ValueError too. Drop the length check and…

    Write the code Medium 2 stages errors try except ValueError