American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

5PM Python Level 1

July 20, 2019 @ 5:00 pm - 7:00 pm

  1. We reviewed our homework to make Car and Student classes.
  2. We went over Python dictionary.
  3. We went over Student Registration project.
    1. We used Student class
    2. We used Python Dictionary to easily find student by name and id
  4. Homework:
    1. Make sure you have added the feature where it can find student by ID.
    2. Change the program to have another feature which is to edit existing student. Look at below example:
    3. What do you want to do?
      1. Register Student
      2. Find Student
      3. Edit Existing Student
      4. Quit
      Enter your selection: 1
      Enter a new student full name: Gamas Chang
      What grade is he in: 10
      What is his phone: 626-532-7844
      You have successfully registered: 
      Student ID: 1, name: Gamas Chang, grade: 10, phone: 626-532-7844
      
      What do you want to do?
      1. Register Student
      2. Find Student
      3. Edit Existing Student
      4. Quit
      Enter your selection: 3
      
      Enter Student ID: 1
      Student ID: 1, name: Gamas Chang, grade: 10, phone: 626-532-7844
      What information you want to change? 
      1. Phone
      2. Grade
      Enter your selection: 1
      Please enter a new phone number: 888-888-8888
      You have successfuly changed the student's phone: 
      Student ID: 1, name: Gamas Chang, grade: 10, phone: 888-888-8888

Details

Date:
July 20, 2019
Time:
5:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights