Results for “count”

Showing 21–30 of 76

  1. Challenge

    Missing index

    …readings and shows the latest one on screen. The developer counted five readings, wrote readings[5] , and the monitor crashes every time it starts. Predict what happens, find out which indexes exist…

    Fix the code Easy 3 stages lists indexing IndexError len
  2. Challenge

    Shift rota

    …taking the crew in turn. Print one line per day, then count how many times one person works two shifts in a row: Mon Morning: Kowalska Afternoon: Tanaka Night: Okafor Tue Morning: Bondarenko…

    Write the code Hard 2 stages project scheduling lists tuples
  3. Challenge

    What arrived?

    …pressure: <class 'float'> valve_open: <class 'str'> sample_count: <class 'int'> Make: Convert a packet Everything in this packet from the navigation computer arrived as text. Convert each value to the…

    Write the code Easy 3 stages type() data types type conversion sensor data
  4. Challenge

    Manifest diff

    …to print what was added and what was removed, then count what stayed with an intersection and print none for an empty change.

    Write the code Easy 2 stages sets difference intersection sorted
  5. Challenge

    Changed the caller's list

    …the day have one more value in them, and the daily report counts readings that were never really taken. Predict what the program prints, find out how the preview reached the stored list, fix the…

    Fix the code Medium 3 stages functions lists mutation return
  6. Challenge

    Duplicate events

    …once Print each event once, keeping the first copy, and count the copies you dropped: EV-1001 Hatch closed EV-1002 Cabin pressure nominal EV-1003 Abort system armed EV-1004 Switched to internal power…

    Write the code Medium 2 stages sets add in deduplication
  7. Article Python Fundamentals

    Variables and data types in Python

    …(int) Whole numbers without decimal points, perfect for counting objects: number_of_planets = 8 satellite_count = 3400 Float (float) Numbers with decimal points, essential for precise space…