Challenge
Readings summary
…survives a pass with no readings at all. Min, max, mean Print the lowest and the highest reading, and the mean with one decimal place: Min: 398.0 Max: 455.2 Mean: 419.5 min() and max() take the whole…
Showing 101–110 of 150
Challenge
…survives a pass with no readings at all. Min, max, mean Print the lowest and the highest reading, and the mean with one decimal place: Min: 398.0 Max: 455.2 Mean: 419.5 min() and max() take the whole…
Challenge
…themselves. Subsystem and number Split the ID at the dash. Print the subsystem, the unit number as an int , and the ID of the next unit: Subsystem: ENG Unit number: 2 Next unit: ENG-3 The pieces from…
Challenge
…by datetime.fromisoformat() . Sort them by start time and print: Contact windows over 8 minutes: 06:30:00-06:44:00 Usuda 14.0 min 08:02:10-08:13:40 Kiruna 11.5 min 08:10:00-08:19:30 Svalbard 9.5 min…
Challenge
…config as a copy of DEFAULTS , fill in what was saved, and print every setting in name order, with the value written as JSON: downlink_rate_kbps = "256" log_level = "INFO" log_levl = "DEBUG" retries =…
Challenge
…shift of the week, in order, taking the crew in turn. Print one line per day, then count how many times one person works two shifts in a row: Mon Morning: Kowalska Afternoon: Tanaka Night: Okafor Tue…
Challenge
…takes JSON. The summary already exists as a Python dict. Printing it with print(summary) looks close, but single quotes, True and None aren't JSON, and the archive rejects it. Produce real JSON text…
Challenge
…pages Merge the pages into one list called launches , then print how many launches there are, and each one: Launches: 7 Lumen-1: success Kestrel-4: success Aurora Relay: failure Kestrel-5: success…
Challenge
…comment line. Skip blank lines and comment lines, so it prints only the readings: 09:30:05 ENG-2: 412.5 C 09:30:05 TANK-1: 78.3 % 09:30:10 CABIN: 101.2 kPa 09:30:10 ENG-2: 415.0 C At the top of the…
Challenge
…of longitudes. Pick the one the spacecraft is over and print it: from 60 to 180 New Norcia from -60, below 60 Cebreros below -60 Malargüe For 100.0 it's Ground station: New Norcia . Go through the…
Challenge
…only its last four characters show, the way bank cards are printed on receipts, then do it inside a real log line. Mask the code Replace every character of the access code except the last four with *…