Results for “get”

Showing 51–57 of 57

  1. Challenge

    Readings summary

    After every pass over the ground station, the engine team gets a summary of the temperature readings: the lowest, the highest and the average. Nobody reads five hundred numbers; everybody reads the…

    Write the code Easy 2 stages lists min max sum
  2. Challenge

    Sorted copy

    …but the sign-up order matters too: it decides who gets the first training slots. The same list has to be shown both ways. Make a sorted copy for the report and leave the original alone, then make the…

    Write the code Easy 2 stages lists sorted sort key
  3. Challenge

    Telemetry report

    The ground station no longer gets one reading at a time: the feed now delivers a block of lines every second. The flight controllers want them as a report they can scan at a glance, not as raw…

    Write the code Medium 2 stages strings split slicing f-strings
  4. Challenge

    Duration formatter

    …part. Change the print so it shows: 27:46:40 Every part gets two digits, so 3725 seconds would show as 01:02:05 . In an f-string, {minutes:02d} pads a whole number with zeros to two digits. Days too…

    Write the code Easy 3 stages floor division modulo // %
  5. Challenge

    Aligned status board

    …don't end the f-string. Readings on the right The board gets a third column: each system's temperature in °C. Numbers read best aligned to the right, so their decimal points line up. Give the states a…

    Write the code Medium 3 stages f-strings alignment tables formatting
  6. Article Python Fundamentals

    Python If/Else for Beginners

    …else: print("Abort: insufficient fuel.") If nesting gets deep, consider combining conditions or extracting logic into functions. Chained comparisons Python supports expressions like a < b < c , which…