-
Even or Odd
- Problem: Write a program that prints whether a number is even or odd.
- Objective: Practice using conditionals.
-
Sum of Numbers
- Problem: Write a program that asks the user for 10 numbers and then prints the sum of those numbers.
- Objective: Work with loops, user input, and accumulation of values.
-
FizzBuzz
- Problem: Write a program that prints the numbers from 1 to 100, but for multiples of 3 print "Fizz" instead of the number, and for multiples of 5 print "Buzz". For numbers that are multiples of both, print "FizzBuzz".
- Objective: Develop conditional logic and work with modular operators.
-
Reverse Strings
- Problem: Write a program that reverses a string entered by the user.
- Objective: Practice working with strings and loops.
-
Prime Numbers
- Problem: Write a program that determines whether a number entered by the user is prime or not.
- Objective: Practice creating functions and using loops.
-
Factorial of a Number
- Problem: Write a program that calculates the factorial of a number entered by the user.
- Objective: Practice recursion or iteration with loops.
-
Sum of Digits
- Problem: Write a program that calculates the sum of the digits of an integer entered by the user.
- Objective: Practice working with numbers and loops.
-
Sort a List
- Problem: Write a program that sorts a list of numbers in ascending order.
- Objective: Implement and understand basic sorting algorithms like bubble sort.
-
Fibonacci Sequence
- Problem: Write a program that prints the first n numbers of the Fibonacci sequence, where n is entered by the user.
- Objective: Practice recursion or iteration and work with mathematical series.
-
Word Counter
- Problem: Write a program that counts how many times each word appears in a text entered by the user.
- Objective: Work with strings, dictionaries, and loops.
-
Palindrome Checker
- Problem: Write a program that checks if a word entered by the user is a palindrome.
- Objective: Practice working with strings and conditionals.
-
Anagram Checker
- Problem: Write a program that checks if two words entered by the user are anagrams of each other.
- Objective: Work with strings and dictionaries.
-
Caesar Cipher
- Problem: Write a program that encrypts or decrypts a message using the Caesar cipher.
- Objective: Practice working with strings and encryption algorithms.
-
Hannoi Tower
- Problem: Write a program that solves the Tower of Hanoi puzzle for n disks.
- Objective: Practice recursion and solving mathematical problems.
- Number Guessing Game
Generate a random number Ask the user to guess Provide feedback (too high/low) Count attempts
- Calculator
Take two numbers and an operation as input Perform the calculation and display the result
- To-Do List
Allow users to add, view, and remove tasks Save tasks to a file
- Weather App
Play against the computer Keep score
- Password Generator
Generate random passwords with specified length Include options for uppercase, lowercase, numbers, and symbols
- Get data from an API
Use requests to get data from an API Display or save the data
- Hangman Game
Choose a random word from a list Allow the player to guess letters Display the word with blanks for unguessed letters
- Web Scraper
Use requests and BeautifulSoup to scrape data from a website Display or save the scraped information
- Tic-Tac-Toe Game
Create a 3x3 grid Allow two players to take turns Check for wins or draws
- Currency Converter
Use an API to get current exchange rates Convert between different currencies
- Convert Roman Numerals to Numbers and vice versa
Create functions to convert between Roman numerals and numbers
- Quiz App
Store questions and answers in a dictionary Keep score and provide feedback
- Snake Game
Create a grid with a snake that moves Allow the snake to eat food and grow End the game if the snake hits the wall or itself
- Rock, Paper, Scissors Game
Allow the player to choose rock, paper, or scissors Have the computer randomly choose
- Space Invaders Game
Create a player ship and enemy ships Allow the player to shoot and destroy enemies End the game if the player is hit by an enemy
- Flappy Bird Game
Create a bird that moves up and down Avoid obstacles and try to get the highest score
- Pong Game
Create a paddle and ball that bounce off walls Allow two players to control the paddles End the game if the ball goes off the screen
- Memory Game
Create a grid of cards with matching pairs Allow the player to flip two cards at a time End the game when all pairs are found
- Sudoku Solver
Create a 9x9 grid with some numbers filled in Use backtracking to solve the puzzle
- Game of Life
Create a grid of cells that live or die based on rules Allow the player to set the initial state and watch the simulation