Page 141 - KEC Khaitan C8 Flipbook
P. 141
Submission Guidelines
∑ Code File:
o Submit the Python file (.py) or share the Google Colab link.
∑ Screen Recording:
o Include a demonstration showing at least:
An invalid input.
A too-low and too-high guess.
A successful guess.
Bonus Features
∑ Attempt Counter:
o Track and display the number of attempts it took to guess the correct number.
∑ Dynamic Range:
o Allow the user to define the range before starting the game.
∑ Hints:
o Provide hints like "The number is even" or "The number is divisible by 5" after a certain
number of guesses.
∑ Multiple Rounds:
o Implement a multi-round game where the user can choose to play again after a successful
guess.
Tips for Success
∑ Handle Invalid Input:
o Use try-except blocks to manage non-numeric inputs gracefully.
∑ Test for Edge Cases:
o Ensure the program handles guesses at the boundaries of the range.
∑ Keep Feedback Clear:
o Use consistent and friendly messages for all scenarios.
Evaluation Criteria
∑ Functionality (50%): Does the program handle continuous guessing until the correct number
is found?
∑ User Experience (25%): Are error messages and prompts clear and helpful?
∑ Code Quality (25%): Is the code well-structured and readable?
Hands-On Project 139

