0% found this document useful (0 votes)
9 views3 pages

Python Problem List

The document is a comprehensive list of Python practice problems categorized into seven levels, ranging from basic tasks to advanced projects. Each level includes various exercises that cover fundamental programming concepts, data structures, functions, file handling, object-oriented programming, backend preparation, and mini projects. This structured approach aims to help learners progressively enhance their Python skills.

Uploaded by

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

Python Problem List

The document is a comprehensive list of Python practice problems categorized into seven levels, ranging from basic tasks to advanced projects. Each level includes various exercises that cover fundamental programming concepts, data structures, functions, file handling, object-oriented programming, backend preparation, and mini projects. This structured approach aims to help learners progressively enhance their Python skills.

Uploaded by

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

Python Practice Problem List

Level 1: Basics

1. Print your name and age.

2. Take user input and greet them.

3. Add two numbers.

4. Convert Celsius to Fahrenheit.

5. Check if a number is even or odd.

6. Find the largest of three numbers.

7. Reverse a string.

8. Count vowels in a string.

9. Check if a string is a palindrome.

10. Generate a multiplication table.

Level 2: Loops, Lists, and Strings

11. Sum all numbers in a list.

12. Find the second largest number in a list.

13. Remove duplicates from a list.

14. Count how many times an item appears in a list.

15. Merge two sorted lists.

16. Find the longest word in a sentence.

17. Sort a list without using sort().

18. Check if two strings are anagrams.

19. Create a simple calculator using if/else.

20. Generate a pattern.

Level 3: Functions

21. Factorial function.

22. Prime number checker.

23. Fibonacci generator.

24. Return only even numbers from a list.

25. Common elements between two lists.

26. Average of a list.

27. Build your own max() function.


28. Build your own lower() function.

29. Calculate compound interest.

30. Password validator.

Level 4: File Handling

31. Count lines in a file.

32. Word frequency counter.

33. Write user input to a file.

34. Append logs to a file.

35. Read CSV and print rows.

36. Write list of dicts to JSON.

37. Load JSON and extract info.

38. Mini contact book with file storage.

39. To-do CLI using a text file.

40. Convert text to upper/lower and save.

Level 5: Modules and OOP

41. BankAccount class.

42. Deposit and withdraw methods.

43. Student class with marks.

44. Calculator using classes.

45. Module with helper functions.

46. Shopping cart class.

47. Object counter class.

48. Animal → Dog inheritance.

49. Library class to manage books.

50. Error-handling system.

Level 6: Early Backend Prep

51. Email validator.

52. URL parser.

53. Environment variables with os.

54. Hash passwords with hashlib.


55. Simple login with hashed passwords.

56. Config file handling.

57. Tiny key-value store.

58. Rate limiter.

59. API-style response generator.

60. Log parser.

Level 7: Mini Projects

61. CLI note-taking app.

62. CRUD users.

63. Password manager.

64. URL shortener logic.

65. Session manager.

66. Task scheduler.

67. Role system.

68. Comment system with replies.

69. Simple recommendation engine.

70. Backend-style validator.

You might also like