Results for “key”

Showing 31–40 of 62

  1. Challenge

    Counter

    …counts.get() with collections.Counter, which starts every key at 0, then list the levels from most to least common with most_common().

    Fix the code Easy 2 stages collections Counter most_common dictionaries
  2. Challenge

    Launch schedule digest

    …the parsed datetime, works for the comparison and as the key for sorted() . strftime("%Y-%m-%d %H:%M") formats a datetime. Time left, and holds Add the time left to each launch, as days, hours and…

    Write the code Medium 3 stages project json datetime timedelta
  3. Article Mini projects

    Python Random Module

    …we launch into the unknown, we need to understand two key components: The Python random module - our cosmic dice Our solar system data - our possible destinations Let's start by importing our space…

  4. Challenge

    Nested response

    …patch URL from a nested launch response by chaining keys and indexes, then add the operator and orbit and cope with a launch that has no patches yet.

    Write the code Easy 2 stages dictionaries nested data lists JSON