Skip to content

Beginner Practice Projects

1. Number Guessing Game

  • Generate a random number between 1 and 100.
  • Let the user guess the number and provide hints (higher or lower) after each guess.
  • Track the number of attempts.

2. Simple Calculator

  • Take input from the user for two numbers and an operator (+, -, *, /).
  • Perform the operation and display the result.
  • Handle errors (e.g., division by zero).

3. Password Generator

  • Generate a random password of a specified length.
  • Include letters (uppercase and lowercase), digits, and special characters.
  • Allow users to specify password length and character types.

4. To-Do List App (CLI)

  • Add, view, and remove tasks.
  • Save tasks to a file so they persist between sessions.
  • Mark tasks as completed.

5. Simple Quiz Game

  • Create a multiple-choice quiz.
  • Ask the user a series of questions and keep track of the score.
  • Display the final score at the end.

6. Unit Converter

  • Convert units like length (meters to feet), temperature (Celsius to Fahrenheit), etc.
  • Allow users to select which conversion they want.

7. Mad Libs Generator

  • Ask the user for different words (noun, verb, adjective).
  • Insert the words into a pre-written story and display the result.

8. Rock, Paper, Scissors Game

  • Let the user play against the computer.
  • Keep track of wins, losses, and ties.
  • Ask if the user wants to play again.

9. Simple Budget Tracker

  • Record income and expenses.
  • Display the current balance.
  • Categorize expenses (e.g., food, transport).

10. Basic Text-Based Adventure Game

  • Create a simple game where the player navigates through rooms.
  • Allow them to collect items and solve simple puzzles.