Results for “for loop”

Showing 51–57 of 57

  1. Challenge

    Line to record

    …from "Skip blanks and comments" prints each reading and forgets it. The rest of the ground software needs the readings themselves: the alert check, the charts, the daily report. Each one should be…

    Write the code Easy 2 stages dictionaries lists parsing records
  2. Challenge

    Go launches only

    …launches that are cleared to fly with ones still waiting for a date, a payload or the weather. The public board highlights only the launches that are Go. Filter the list by status, then add a line for…

    Write the code Easy 2 stages dictionaries lists of dicts filtering if
  3. Challenge

    Real JSON

    …the text into a dict with json.loads() , then add a line for crewed : Launch: Lumen-3 Provider: JAXA Status: Go Crewed: False import json is already at the top; replace launch = response_text with…

    Write the code Easy 2 stages json json.loads modules import
  4. Challenge

    Settings with defaults

    The mission dashboard has a default for every setting, and each user's profile stores only what they have changed. When a user opens the dashboard, the two have to be combined: their values where they…

    Write the code Medium 2 stages dictionaries copy update defaults
  5. Challenge

    Log analyser

    …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…

    Write the code Hard 3 stages project logs parsing Counter
  6. Challenge

    Index by ID

    The crew ask for cargo by ID all day long: "where is CG-0045, and how heavy is it?". Searching the whole manifest list for every question works for six items, but the real manifest has thousands…

    Write the code Medium 2 stages dictionaries indexing lookup in