0% found this document useful (0 votes)
2 views5 pages

100 Python Problems Categorized

The document lists 100 categorized Python problems ranging from beginner to intermediate levels. It covers various topics including basics, strings, data structures, algorithms, recursion, file handling, OOP concepts, and mini projects. Each category contains specific problems designed to enhance Python programming skills.

Uploaded by

Himesh Saroha
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views5 pages

100 Python Problems Categorized

The document lists 100 categorized Python problems ranging from beginner to intermediate levels. It covers various topics including basics, strings, data structures, algorithms, recursion, file handling, OOP concepts, and mini projects. Each category contains specific problems designed to enhance Python programming skills.

Uploaded by

Himesh Saroha
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

100 Python Problems - Categorized

(Beginner to Intermediate)
Basics & Syntax (1–15)
1. Print 'Hello, World!'

2. Take input and print it

3. Add two numbers

4. Check even or odd

5. Find largest of three numbers

6. Swap two variables

7. Check leap year

8. Convert Celsius to Fahrenheit

9. Simple calculator

10. Sum of digits of a number

11. Find length without len()

12. Basic patterns

13. Reverse a string

14. Palindrome check

15. Count vowels

Strings (16–25)
1. Count words in string

2. Check substring

3. Find longest word

4. Character frequency

5. Remove punctuation
6. Check anagram

7. Regex email validator

8. Regex phone extractor

9. String compression

10. Capitalize words

Lists, Tuples, Sets (26–40)


1. Sort a list

2. Find max/min

3. Remove duplicates

4. Merge lists

5. Second largest element

6. Sum of list

7. Common elements

8. Replace elements

9. Flatten nested list

10. List to string

11. Tuple frequency count

12. Set intersection

13. Set difference

14. Unique elements

15. Rotate list

Dictionaries (41–45)
1. Create dict from lists

2. Sort dict by value

3. Count frequency using dict


4. Invert dictionary

5. Merge dictionaries

Math & Number Theory (46–55)


1. Factorial

2. Fibonacci

3. Prime check

4. Primes in range

5. GCD

6. LCM

7. Armstrong number

8. Perfect number

9. Binary to decimal

10. Decimal to binary

Searching & Sorting (DSA Core) (56–65)


1. Linear search

2. Binary search

3. Bubble sort

4. Selection sort

5. Insertion sort

6. Merge sort

7. Quick sort

8. Count sort

9. Find kth largest

10. Search in rotated array


Recursion & Backtracking (66–70)
1. Recursive factorial

2. Recursive Fibonacci

3. Tower of Hanoi

4. Generate permutations

5. Generate combinations

Stacks & Queues (DSA) (71–75)


1. Implement stack

2. Implement queue

3. Reverse stack

4. Balanced parentheses

5. Evaluate postfix expression

Matrices & Arrays (76–80)


1. Matrix addition

2. Matrix multiplication

3. Transpose matrix

4. Spiral traversal

5. Diagonal sum

File Handling & Data Formats (81–85)


1. File read/write

2. Word count in file

3. Copy file

4. CSV read/write

5. JSON read/write
OOP Concepts (86–90)
1. Class & object

2. Inheritance

3. Multiple inheritance

4. Method overriding

5. Operator overloading

Mini Projects (91–100)


1. Bank account system

2. Student management system

3. Library system

4. CLI To-Do app

5. Password generator

6. Number guessing game

7. Hangman game

8. Tic Tac Toe

9. API data fetcher

10. Web scraper

You might also like