BuildlyBuildly
DashboardExercisesProfileHelp
Back to all

Practice: Sets & Tuples

Drills tagged with this skill, unpassed first. Pass them all to mark the skill ready for scenarios.

Module 1: Python Programming

0/3 done
Exercises (0/3)
  • 1
    Unique Words in a Sentence
    Write unique_words(sentence) that returns the unique (case-insensitive) words in sentence as a sorted list. Words are space-separated.
    5 min· 10 XP
  • 2
    Common Elements
    Write common_elements(a, b) that returns the items present in both lists, as a sorted list (case-sensitive, dedup any repeats).
    5 min· 10 XP
  • 3
    Min, Max, Average
    Write min_max_avg(numbers) that returns a list [min, max, avg] for a non-empty list. The average should be a float.
    5 min· 10 XP