Practice ยท 2 of 3
Seen Before?
ids = [101, 202, 101, 303] is given. seen = set() starts empty. For practice, print True if 101 appears more than once in ids, False otherwise (a set makes this one line).
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Tuples & Sets