Challenge
Counter
…returns a list of (level, count) pairs, so the loop can unpack each one.
Showing 21–30 of 36
Challenge
…returns a list of (level, count) pairs, so the loop can unpack each one.
Challenge
…get() lookup, keeping the output exactly the same, then loop over the dict for a weight table.
Challenge
…as parse_pressure(None) still raises its TypeError . The loop prints: 101.2 None 100.8
Challenge
…in that order, and negative mass for a mass below 0. The loop at the bottom then prints: CG-0042: OK CG-0043: missing item, negative mass CG-0044: missing mass_kg CG-42: OK Start with problems = []…
Challenge
…came in one batch, and the second was cut off in transfer. Loop over responses , print one line per launch, and print a message instead of crashing for the broken one: Lumen-3 (JAXA): Go Bad response…
Challenge
…and its feed string: open telemetry.csv with newline="" , loop over csv.DictReader(csv_file) , and print each row in the same format as before: 09:30:05 ENG-2: 412.5 C 09:30:05 TANK-1: 78.3 % 09:30:10…
Challenge
…Lumen-3 (JAXA) Tern-5 (ISRO) Aurora Relay 2 (JAXA) Loop over the launches and compare launch["status"] with "Go" . And the rest Collect the launches that aren't Go, each with its status, and print…
Challenge
…is over 450, otherwise OK . Then print the report with a loop over a list of the engines. The output, before and after: ENGINE REPORT ============= ENG-1 avg 425.6 max 431.75 OK ENG-2 avg 400.4 max…
Challenge
…ERROR: 10:14:47 PROP Fuel valve 2 not responding Stop the loop with break as soon as you find it. The hidden tests also run a log without any errors. Rank by warnings Rank the subsystems by how many…
Challenge
…was already used, and whether the whole load fits. In the loop, add "duplicate id" to an item's problems when its ID was seen before, keep a count and the mass of the items that pass, and finish with…