LearnPy Hub
← All topics
Topic Practice · Data Structures

Tuples & Sets problems

50 problems: 22 Easy, 18 Medium, 10 Hard.

Review the Tuples & Sets lesson
✓1. Unique Values
4 test cases
EasyNot tracked
✓2. Sorted Unique
4 test cases
EasyNot tracked
✓3. Point Swap
4 test cases
EasyNot tracked
✓4. Quotient and Remainder
4 test cases
EasyNot tracked
✓5. Common Elements
4 test cases
EasyNot tracked
✓6. All Different?
4 test cases
EasyNot tracked
✓7. Sum of Pairs
4 test cases
EasyNot tracked
✓8. Search a Tuple
4 test cases
EasyNot tracked
✓9. How Many Different?
4 test cases
EasyNot tracked
✓10. Is It a Subset?
4 test cases
EasyNot tracked
✓11. Tuple Summary
4 test cases
EasyNot tracked
✓12. Make a Tuple
4 test cases
EasyNot tracked
✓13. Unpack a Point
4 test cases
EasyNot tracked
✓14. Position in a Tuple
4 test cases
EasyNot tracked
✓15. Add to a Set
4 test cases
EasyNot tracked
✓16. Member of the Set?
4 test cases
EasyNot tracked
✓17. Join Two Tuples
4 test cases
EasyNot tracked
✓18. Remove From a Set
4 test cases
EasyNot tracked
✓19. Count in a Tuple
4 test cases
EasyNot tracked
✓20. Smallest and Largest as a Tuple
4 test cases
EasyNot tracked
✓21. Letters Used
4 test cases
EasyNot tracked
✓22. Tuples Can't Change
4 test cases
EasyNot tracked
✓23. Only in the First
4 test cases
MediumNot tracked
✓24. In Exactly One
4 test cases
MediumNot tracked
✓25. First Repeat
4 test cases
MediumNot tracked
✓26. Distinct Letters
4 test cases
MediumNot tracked
✓27. Pangram
4 test cases
MediumNot tracked
✓28. Distance Between Points
4 test cases
MediumNot tracked
✓29. Sort by Second
4 test cases
MediumNot tracked
✓30. Return a Tuple
4 test cases
MediumNot tracked
✓31. Nothing in Common?
4 test cases
MediumNot tracked
✓32. In Every Line
4 test cases
MediumNot tracked
✓33. Set Commands
4 test cases
MediumNot tracked
✓34. Names and Scores as Tuples
4 test cases
MediumNot tracked
✓35. Values That Repeat
4 test cases
MediumNot tracked
✓36. Has Every Required Skill?
4 test cases
MediumNot tracked
✓37. Rank Students
4 test cases
MediumNot tracked
✓38. Places Visited
4 test cases
MediumNot tracked
✓39. First Word That Appears Once
4 test cases
MediumNot tracked
✓40. Flip the Pairs
4 test cases
MediumNot tracked
✓41. Distinct Pairs
4 test cases
HardNot tracked
✓42. Union of Many
4 test cases
HardNot tracked
✓43. Longest Run Without Repeats
5 test cases
HardNot tracked
✓44. Set Operations
4 test cases
HardNot tracked
✓45. Same Letters Groups
4 test cases
HardNot tracked
✓46. Words Only Here, Only There, Both
4 test cases
HardNot tracked
✓47. Points With namedtuple
4 test cases
HardNot tracked
✓48. Merge Overlapping Intervals
4 test cases
HardNot tracked
✓49. Friend Groups
4 test cases
HardNot tracked
✓50. Triples That Sum to Zero
4 test cases
HardNot tracked
← Back to all topics
Tuples & Sets practice problems · LearnPy Hub