Results for “update”

Showing 1–10 of 13

  1. Challenge

    Settings with defaults

    …the defaults and laying their own values on top with update(), so any setting they haven't changed falls back, then warn about unknown keys instead of saving them.

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

    Config loader

    …= "yes" timeout_s = 2.5 dict(DEFAULTS) makes the copy and update() fills it in. json.dumps(value) shows the difference between "256" and 256 . Every problem at once Check every saved setting, in the…

    Write the code Hard 3 stages project json configuration validation
  3. Challenge

    Read the error

    …wake-up 08:30 Breakfast and medical check 09:15 Navigation update received 10:00 Course correction burn: 12 s 10:20 Burn confirmed by ground control 11:00 Science block begins End of log Pasted from a…

    Fix the code Easy 3 stages SyntaxError IndentationError error messages debugging
  4. Challenge

    Never-ending wait

    A while loop waits for the antenna signal but never moves on to the next reading, so it never ends. Predict it, find the stuck counter, fix it, then write a wait that gives up when the readings run…

    Fix the code Easy 3 stages while loop infinite loop counter and