Challenge
Downlink time
…the link speed in Mbit/s, both as decimal numbers, and print the transfer time in minutes with one decimal place. For a 450 MB file at 2 Mbit/s: Downlink time: 30.0 min Forget the 8 and the answer…
Showing 111–120 of 150
Challenge
…the link speed in Mbit/s, both as decimal numbers, and print the transfer time in minutes with one decimal place. For a 450 MB file at 2 Mbit/s: Downlink time: 30.0 min Forget the 8 and the answer…
Challenge
…the minutes left over and the seconds left over, and print: 27 h 46 min 40 s // divides and keeps only the whole part; % gives what's left over. An hour has 3600 seconds and a minute 60. Clock format…
Challenge
…455.0 outside 0.0-450.0 Look at the decision line it prints after that. If it seems wrong to you, you are right: that is the fifth bug, for stage 2. This stage checks the lines above. Make it right…
Challenge
…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 = [] , append each problem you…
Challenge
…, which trims the email and makes it lower case. Print every sign-up, cleaned: Anna Kowalska <anna.kowalska@example.org> Kenji Tanaka <k.tanaka@example.org> Chioma Okafor <chioma.okafor@example.org>…
Challenge
…the reason for anything else. Then try every command and print OK and the result, or REJECTED , the command in quotes and the reason: OK ('burn', 12.5) OK ('burn', 3.0) OK ('burn', 0.5) REJECTED…
Challenge
…readings, count a glitch when random.random() < 0.05 , and print the count: Glitches in 100 readings: 7 Call random.random() exactly once per reading, after the seed: the check expects that exact…
Challenge
…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 CABIN: 101.2 kPa 09:30:10 ENG-2: 415.0…
Challenge
…loose values, then with the readings list unpacked, and print: Three spot checks: 401.0 The whole pass: 419.5 Inside the function, values is a tuple, so sum() and len() work on it. In the second call…
Challenge
…the racks. Sort both lists by one of their fields. By date Print the launches from the earliest date to the latest: 2026-11-05 Lumen-3 2026-11-21 Kestrel-7 2026-12-01 Tern-5 2027-01-18 Polaris Cargo 4…