Results for “counting”

Showing 11–19 of 19

  1. Article Mini projects

    Medical dispenser - Don’t trust the user

    …stopwatch that starts when the program runs and just keeps counting up, immune to Grace's shenanigans. Important limitation: Monotonic time is only reliable within a single program session. It resets…

  2. Challenge

    Log analyser

    …2 By hour: 09:00: 4 10:00: 4 11:00: 5 Two Counter s do the counting; the hour is the first two characters of the time, plus ":00" . The first error Find the first ERROR entry and print its time…

    Write the code Hard 3 stages project logs parsing Counter
  3. Challenge

    First error

    …one Find the first ERROR entry, print its line number, counting from 1, with the entry itself, and stop searching there: First error on line 4: [T+00:14:47] ERROR Fuel valve 2 not responding Loop with…

    Write the code Easy 2 stages for loop break enumerate flags
  4. 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…