Results for “count”

Showing 31–40 of 76

  1. Challenge

    Catch what you expect

    …, and the number of readings that are really bad in bad_count . Modify. Catch only ValueError . The hidden error then stops the program with a traceback: fix it. It must print: Bad reading: n/a Good…

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

    Shared default list

    …call without a log would return, and store it in third_count . Remove any lines you added before you check. Modify. Give each call without a log its own new list. It must print: Morning: ['ENG-2…

    Fix the code Medium 3 stages functions default values mutable defaults None
  3. Challenge

    Debris grid

    …every # , row by row, and print its row and column, both counted from 0, as indexes are. Then print how many there are: Debris at row 0, column 2 Debris at row 2, column 5 Debris at row 3, column 0…

    Write the code Medium 2 stages nested loops enumerate range strings