- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AINeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++
- ChallengesNew
Python practice problems
Classic beginner exercises on numbers, text and lists, each followed by a challenge to solve on your own.
Start the path →1 Numbers and digits 6 lessons
- Lesson 2 challenges Sum the Digits of a Number Add every decimal digit in an integer.
- Lesson 2 challenges Reverse an Integer in Python Reverse the decimal digits of an integer.
- Lesson 2 challenges Check an Armstrong Number Check whether a number equals the sum of its powered digits.
- Lesson 1 challenge Check a Perfect Number Check whether proper divisors add up to the number.
- Lesson 2 challenges Check a Leap Year in Python Apply Gregorian leap-year rules.
- Lesson 3 challenges Check a Prime Number in Python Check whether a number is prime with an efficient Python example.
2 Text problems 5 lessons
- Lesson 2 challenges Reverse a String in Python Reverse a Python string with slicing and run the example online.
- Lesson 2 challenges Count Vowels in Python Count vowels in a line of text.
- Lesson 2 challenges Check Anagrams in Python Check whether two texts contain the same letters.
- Lesson 1 challenge Check Password Strength Validate several basic password requirements.
- Lesson 1 challenge Caesar Cipher in Python Shift lowercase letters by a fixed amount.
3 List problems 4 lessons
- Lesson 2 challenges Find the Second Largest Value Find the second distinct largest list value.
- Lesson 1 challenge Remove Duplicate List Values Remove duplicates while preserving their first-seen order.
- Lesson 2 challenges Flatten a Nested List Flatten a one-level nested list.
- Lesson 1 challenge Split a List into Chunks Divide a list into fixed-size groups.