A simple Python terminal-based menu program that allows users to check grades, view their Certificate of Registration (COR), or exit the system โ all in a looped menu interface.
This project demonstrates menu looping, conditional logic, and use of Colorama for text styling.
- ๐งฎ Check Grades โ Displays predefined student grades by ID.
- ๐ชช Check COR โ Shows basic enrollment details for the entered student.
- ๐ช Exit Option โ Gracefully ends the program.
- ๐จ Colorful Output โ Uses
coloramafor colored text in the terminal. - ๐ Looping Menu โ Automatically returns to the menu until the user exits.
-
Clone or Download this repository.
git clone https://github.com/<your-username>/MenuLooping.py.git
(or simply download the ZIP file and extract it)
-
Navigate to the project folder:
cd MenuLooping -
Install dependencies (requires Python 3):
pip install colorama
-
Run the program:
python MenuLooping.py
- Python 3.8 or higher
coloramalibrary (pip install colorama)
- Displays a looping text-based menu.
- Prompts the user to select an option (1โ3).
- Processes the input:
- 1 โ Check Grades
- 2 โ Check COR
- 3 โ Exit
- Invalid inputs display an error message and return to the menu.
====================
Menu Looping
====================
Menu:
1. Check Grades
2. Check COR (Certificate of Registration)
3. Exit
Enter your choice (1-3): 1
You selected: Check Grades
Enter your name: Carlo
Enter your student ID: 1055147
Hello, Carlo (ID: 1055147)! Here are your grades:
Math: 88
Science: 95
History: 92
Carlo
๐ BSIT-MWA Freshman @ National University โ MOA
๐ป Interested in Python, web, and mobile development
This project is open source and available under the MIT License.