loyal_visitors(day1, day2, day3) returning a sorted list of the users that appeared on all three days.loyal_visitors([1, 2, 3], [2, 3, 4], [3, 2, 9])
[2, 3]
Only users 2 and 3 show up every day.
set.intersection can chain across multiple sets.
set(day1) & set(day2) & set(day3).