Results for “sys”

Showing 11–15 of 15

  1. Challenge

    File name from data

    …can find them, and safe, so they work on every operating system: lower case, no spaces, the sensor first and then the date. Build the file names from the data, then a folder path for each sensor. From…

    Write the code Easy 3 stages strings f-strings lower replace
  2. Challenge

    Off-by-one slice

    The cargo system reads the number out of each container tag, like CG-0042 , to look the container up in the manifest. Container 42 never shows up, and the log is full of numbers that start with a…

    Fix the code Easy 3 stages strings slicing indexing off-by-one
  3. Challenge

    Wrong average

    …temperature of Python One 's hull, and the thermal control system watches their average. Today the average says 47 °C, while every single sensor reads around 21 °C. Predict what the code prints, find…

    Fix the code Easy 3 stages order of operations brackets average debugging
  4. Challenge

    Alert banner

    …pressure low ============================== The alert system sends each alert as one piece of text, so the whole banner has to come from a single f-string. Framed alert Print the alert as a three-line…

    Write the code Medium 3 stages f-strings escape sequences new line formatting
  5. Challenge

    Log line format

    Every system on Python One writes to the mission log, one line per event. Engineers search those logs, tools filter them by level, and alarms go off when an ERROR line appears. That only works if…

    Write the code Easy 2 stages f-strings print logs formatting