Parking Management System
Parking Management System
Grade : 11 A
Reg. No : 11A42
Date: Teacher-in-charge
I express a deep sense of gratitude to almighty God for giving me strength for
the successful completion of this project.
I express a deep sense of gratitude to the luminary The Principal Mrs. Maya ,
who has been continuously motivating and extending their helping hand to us.
My sincere thanks to Mr. Sanjay R, the teacher in-charge, a guide, a mentor, and
above all, a friend who critically reviewed my project and helped in solving each
and every problem that occurred during the implementation of the project.
The guidance and support received from all the members who contributed and
who are contributing to this project was vital for the success of this project. I am
grateful for their constant support and help.
TABLE OF CONTENTS
PAGE
SNO DESCRIPTION
NO
1
01 INTRODUCTION TO PYTHON
2
02 INTRODUCTION TO THE PROJECT
3
03 SOURCE CODE
08
04 OUTPUT
11
05 HARDWARE AND SOFTWARE REQUIREMENTS
12
06 BIBLIOGRAPHY
INTRODUCTION TO PYTHON
Python is a widely used general-purpose, high level programming language. It was initially
designed by Guido van Rossum in 1991 and developed by Python Software Foundation. It was
mainly developed for emphasis on code readability, and its syntax allows programmers to
express concepts in fewer lines of code. Python is a programming language that lets you work
quickly and integrate systems more efficiently.
It is used for,
• Software Development
• System Scripting
Features of Python:
➢ It is easily compatible with other language like C, C++, Core Java , etc.,
Guess the Word is an engaging word-guessing game where players try to uncover a hidden
word by guessing one letter at a time. The word is initially displayed as underscores, with each
correct letter revealed in its corresponding position. Players have 7 attempts to guess the
correct letters. If an incorrect letter is guessed, an attempt is lost. The goal is to guess the entire
word before running out of attempts.
With a selection of randomly chosen words from a variety of categories, this game is both fun
and challenging. The game ends when the player either guesses the word correctly or exhausts
all attempts.
Features:
# Fill the list with underscores for each letter in the word
for letter in word:
word_state.append("_")
guessed_letters = [] # List of guessed letters
attempts = 7 # Total attempts allowed
# Game introduction
print("Welcome to 'Guess the Word'!\n")
print("Guess the word by entering one letter at a time.")
print("The word has ",len(word) ,"letters:", ' '.join(word_state))
print("You have 7 attempts. Good luck!\n")
# Game loop
while attempts > 0 and "_" in word_state:
# Show the current state of the word
print("Word: ", " ".join(word_state))
print("Guessed letters: ",', '.join(guessed_letters) if
guessed_letters else 'None')
print("Attempts remaining: ",attempts, "\n")
# Validate input
if len(guess) != 1 or not guess.isalpha():
print("Invalid input. Please enter a single letter.\n")
continue
if guess in guessed_letters:
print("You already guessed that letter. Try again.\n")
continue
# Add guess to guessed letters
guessed_letters.append(guess)
# End of game
if "_" not in word_state:
print("\nCongratulations! You guessed the word:",
"".join(word_state))
else:
print("\nGame Over. You ran out of attempts.")
print("The word was:", word)
Output:
HARDWARE AND SOFTWARE REQUIREMENTS
HARDWARE REQUIREMENTS:
RAM : 512MB+
SOFTWARE REQUIREMENTS:
◦ Windows OS