Pyhton
Pyhton
A STYDY ON
In
Three Years Diploma Programme in Engineering & Technology of Maharashtra
State Board of Technical Education, Mumbai (Autonomous)
ISO 9001:2008 (ISO/IEC-27001:2013)
At
1475 – V E S ‘S Ahinsa Polytechnic Dondaicha.
MAHARASHTRA STATE BOARD OF
TECHNICAL EDUCATION, MUMBAI
Certificate
This is to certify that Mr. / Ms. Dhruv Pawan Shende
Seal of
Institute
MAHARASHTRA STATE BOARD OF
TECHNICAL EDUCATION, MUMBAI
Certificate
This is to certify that Mr. / Ms. Vedant Shailendra Desale
Seal of
Institute
MAHARASHTRA STATE BOARD OF
TECHNICAL EDUCATION, MUMBAI
Certificate
This is to certify that Mr. / Ms. Soham Jitendra Rajput
Seal of
Institute
…Index…
2
2 Main Body / Content
3
3 Conclusion / Learning Outcomes
4
4 Literature Review and References
5
5 Weekly Work / Progress Report
6
6 Evaluation Sheet
Abstracts / Introduction…
import random
# Validate guess
def check_guess(guess, secret_number):
if guess == secret_number:
return "Correct"
elif guess < secret_number:
return "Too low"
else:
return "Too high"
if not won:
print(f"Sorry, you ran out of attempts! The secret number is {secret_number}.")
if __name__ == "__main__":
print("Welcome to the Number Guessing Game!")
play_game()
Output….
The Number Guessing Game developed using Python is a straightforward yet effective
project that highlights the core principles of programming. It demonstrates the use of
loops, conditionals, and user input, along with the random module for generating
unpredictable numbers. Despite its simplicity, the game provides a solid foundation for
understanding interactive programming and basic game logic.
This project not only helps beginners build confidence in writing and understanding
Python code but also encourages logical thinking and problem-solving. By enhancing or
expanding this game—for example, by adding difficulty levels, limiting the number of
guesses, or implementing a graphical interface—learners can continue to grow their skills
and explore more advanced programming techniques.
Weekly Work / Progress Report …
https://chatgpt.com/?model=auto
https://dev.to/balapriya/how-to-code-a-simple-number-guessing-game-in-python-4jai
ANNEXURE-II
(B)
(C)
(D)
Marks:
Name of Student:
( )
(F)
(G)
(H)
Marks out of
Marks out of 6
4 for
for Total
performance
Roll No Student Name performance in Out of
in Oral /
group activity 10
presentation
(D5- Col. 8)
(D5- Col. 9)
4 Dhruv Pawan Shende 2214750088
5 Vedant Shailendra Desale 2214750089
Soham Jitendra Rajput 2214750116
( )