I built a simple Password Guessing Game using Python to practice core programming concepts. 🔹 The program first asks the user to choose a difficulty level (Easy / Medium / Hard). 🔹 Based on the chosen level, a password is selected randomly using Python’s random module. 🔹 The user is given 5 attempts to guess the correct password. 🔹 After every wrong attempt, the program provides a hint by showing correct characters in the correct positions and hiding others with _. 🔹 If the password is guessed correctly within the limit, the game ends with a success message. 🔹 If all attempts are used, the game displays a failure message and ends. This project helped me strengthen my understanding of loops, conditionals, string handling, and basic game logic. Learning by building small projects 🚀 #Python #PythonProgramming #MiniProject #Coding #Programming #LearningByDoing #StudentDeveloper #CodingJourney

To view or add a comment, sign in

Explore content categories