American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

1 PM – Python OOP – Bill

August 20 @ 1:00 pm - 2:00 pm

Your HW:
  1. Study for your final exam next Saturday
  2. Study Driver System
    1. Monster inheritence
    2. School System
  3. Extra Practice:
    1. Complete the Vehicle/Garage System
      1. Add Vehicle
        1. """
          ADD VEHICLE
          
          Enter Vehicle Type
          1. General Vehicle
          2. Car
          Enter 1 or 2:
          
          Enter name: # if they select car, don't ask this
          Enter speed: 
          Enter terrain: # if they select car, don't ask this
          """
      2. List all Vehicle
        1. Use the get_info method to print each vehicle3
      3. Operate Vehicle
        1. """
          OPERATE VEHICLE
          
          <List all vehicles>
          Enter name of vehicle to operate: 
          Enter distance: 
          Enter terrain:
          
          print out It will take {duration} to travel {distance} km over {terrain} with {self.name}"
          """

Details

Date:
August 20
Time:
1:00 pm - 2:00 pm