Challenge
Progress on one line
…how print() ends. A Python challenge on print(end=...) for progress messages.
Showing 1–10 of 27
Challenge
…how print() ends. A Python challenge on print(end=...) for progress messages.
Challenge
…valid indexes with len(), fix it with [-1], then print the first, middle and last readings for any length.
Challenge
…so the caller's stored readings change too. Predict the first line, prove both names share one list, fix it by returning a new list, then write a filter that leaves its input alone.
Challenge
…comments": a faulty sensor sends ERR and float() stops the program. Skip lines that fail to convert and count them, then let one try cover short lines too and print each error.
Challenge
…whole feed" still reads two lines somebody pasted into the program. The ground station now delivers a proper export, telemetry.csv , with a header row, and it changes every few seconds. Read the file…
Challenge
…new log held every sample ever taken. Predict what the program prints, find out where the old samples come from, fix the default, then write a function that gets it right from the start. Predict and…
Challenge
The inspection tool marks rejected crates by changing the first letter of their code from P to X . It looks like the simplest line in the whole program, and it crashes every time. Predict what…
Challenge
…ground station's export arrives every few seconds. Your program has to read it, refuse what it can't trust, raise the alarm on what is out of range and leave a summary the dashboard can read. Three…
Challenge
…and a function that adds one to it. On launch day, the first launch stopped the program with an error nobody had seen before. Predict what happens, find out why, then fix it in a way that keeps the…
Challenge
…Look closely at the if line and at the line under it. This program never runs, and a program that doesn't run can't be checked. After you run it and read the error, put a # in front of each of the…