« All Events
9 AM – Python OOP – Indo – Gamas
October 28, 2023 @ 9:00 am - 10:00 am
Today We Did
- We finished oct_21_robux_shopping_cart_using_class.py
- We started SchoolSystem project.
Homework
- Create a new file student.py
- Inside this file, create a new Class Student with 3 attributes: name, age and grade.
- Inside school_system.py
- When user select “1. Add student” ask 3 questions and create a new instance of Student class and add it into self.student_dictionary. The key is the name of the student and the value is the Student class.
Please select one of the following
1. Add Student
2. List all students list
3. Find student
Enter your selection (Enter "exit" to quit): 1
ADD NEW STUDENT
Enter student's name: John
Enter student's age: 99
Enter student's grade: 40
You have added John student in our system.