Results for “key”

Showing 11–20 of 62

  1. Challenge

    Flight software review

    …check has five bugs: a syntax error, a type error, a wrong key, an index out of range and a reversed decision. Read each error to fix the four that crash, then find the one that runs but gives the…

    Fix the code Hard 2 stages project debugging SyntaxError TypeError
  2. Challenge

    Alert deduplicator

    The monitoring system raises the same alert over and over. Group repeats of an alert that come within 60 seconds of the first into one line with a count, in the order they first appeared, then add the…

    Write the code Hard 2 stages project dictionaries tuples as keys grouping
  3. Challenge

    Mass by category

    …(41%) crew: 3.4 kg (3%) spares: 2.4 kg (2%) sorted(totals, key=totals.get, reverse=True) gives the categories ordered by their totals. sum(totals.values()) is the whole load.

    Write the code Medium 2 stages dictionaries grouping get sorted