Challenge
Airlock permissions
…the crew member holds every permission in needed . If not, print what is missing, sorted: Kowalska can't depressurise the airlock: missing eva_certified needed <= granted is True when every item of…
Showing 121–130 of 150
Challenge
…the crew member holds every permission in needed . If not, print what is missing, sorted: Kowalska can't depressurise the airlock: missing eva_certified needed <= granted is True when every item of…
Challenge
…the mass of each category in a dict called totals , then print each category with its total, in the order the categories first appear: life support: 49.8 kg spares: 2.4 kg food: 67.0 kg crew: 3.4 kg…
Challenge
…with only the WARN and ERROR entries, in log order. Then print how many there are, and each one: Alerts: 4 [T+00:12:05] WARN Battery 3 temperature high [T+00:14:47] ERROR Fuel valve 2 not responding…
Challenge
…By extension Choose the folder by the file's extension and print where it goes: .png or .jpg images .csv telemetry anything else rejected For the camera image in the starter code: cam-1_2026-03-14.png…
Challenge
…work for paths typed on a Windows PC. Check the ends Print whether the path starts with telemetry/ and whether it ends with .csv : In telemetry/: True CSV file: True path.startswith("telemetry/") and…
Challenge
…the date and the time of day out of the timestamp and print them: Date: 2026-03-14 Time: 09:30:05 The date is the first 10 characters. The time starts after the T , at index 11, and is 8 characters…
Challenge
…the error message that follows. Is it there, and where? Print whether the line contains ERROR , and the index where it starts: Contains ERROR: True Starts at: 13 "ERROR" in line gives True or False…
Challenge
…every second. Read the burn length with input() and print the fuel it uses, with one decimal place. For 42 : Fuel used: 315.0 kg input() always gives text, so turn it into a number with float()…
Challenge
…out how long a radio signal takes to reach the orbiter and print it with one decimal place: One-way delay: 750.5 s Time is distance divided by speed. The speed of light is already in the code as a…
Challenge
…and a row from an unknown sensor raises ValueError . Then print: All checks passed Leave the functions as they are. The hidden tests plant two bugs in parse_row() : one keeps the value as text, the…