Challenge
Units and separators
…mass as 1234567 , and nobody on the flight deck wants to count digits during a launch. Format the numbers for people: a sensible number of decimal places, thousands separators and the right units. The…
Showing 41–48 of 48
Challenge
…mass as 1234567 , and nobody on the flight deck wants to count digits during a launch. Format the numbers for people: a sensible number of decimal places, thousands separators and the right units. The…
Challenge
…wants the mission elapsed time: how long since launch. Counting days and hours by hand across month ends goes wrong eventually, and the ground stations don't even agree on a time zone. Let the…
Challenge
…is the last item whatever the list's length, and len(crew) counts the items. The whole roster Add the second in command, who is second in the list, and the whole roster on one line: Commander: Okafor…
Challenge
…first, so the most recent are at the end. A negative start counts from the end, as with strings. The window moves A new reading has arrived. Add new_reading = 772 under the list, append it to the…
Challenge
…DATA Strip the field first, so a field with only a space counts as empty too, then compare it with "" . Convert with float() only in the else .
Challenge
…tubes are left over: Full crates: 8 Tubes left over: 4 // counts how many times 12 fits into 100, and % gives what's left. Packing list The tubes left over still need a crate, so the packing list…
Challenge
…The rover spent longer on the first leg, so that leg counts for more.
Challenge
…empty print() prints a blank line. Every character still counts: one space after each colon, and OK in capitals.