Results for “is None”

Showing 21–26 of 26

  1. Challenge

    Countdown with holds

    …final checks. Sometimes a check fails, and the launch is scrubbed on the spot. Print the countdown with its holds, then add the scrub. T-10 to T-0 Count down from T-10 to T-0, one line per second, and…

    Write the code Easy 2 stages for loop range negative step in
  2. Challenge

    Duplicate events

    The radio link from the capsule plays it safe: when it isn't sure an event arrived, it sends it again. Mission Control would rather get an event twice than not at all, but the event board must show…

    Write the code Medium 2 stages sets add in deduplication
  3. Challenge

    Statistics module

    …418.8 C Median: 413.8 C The output doesn't change: that is the point of a refactor. The check looks for the module and makes sure your own functions are gone. Spread, and too little data Now there are…

    Fix the code Easy 2 stages statistics mean median stdev
  4. Challenge

    Copy-pasted blocks

    …to the list. Then, after the loop, list the low tanks, or none when there aren't any: Tank A: 78.3% Tank B: 12.5% LOW Tank C: 46.0% Tank D: 9.8% LOW Low tanks: B, D Collect the names of low tanks in a…

    Fix the code Medium 2 stages refactoring for loop tuples lists
  5. Challenge

    Nested response

    …API doesn't keep everything at the top level: the rocket is a dict of its own, and the mission holds a list of patch images. The public launch page shows the rocket and the mission patch. Dig the two…

    Write the code Easy 2 stages dictionaries nested data lists JSON
  6. Challenge

    Line to record

    …float(value), "unit": unit} and append it. The value is a number in the record, so it prints without quotes. Ask by sensor An engineer wants the ENG-2 readings. Add wanted = "ENG-2" under the feed…

    Write the code Easy 2 stages dictionaries lists parsing records