Python List Programs with Solutions

Python Practice › List Programs

Python List Programs with Solutions

100 programs93 easy7 medium0 hard

100 list programs, from sums and reversing to sublists, de-duplication and run-length decoding. Lists are Python’s most used data structure, and these exercises appear in most Python interviews. Every solution is explained and shows its real output.

Before you start

Read the Lists and List Comprehension lesson first if the topic is new to you.

All programs