title: python class inheritance for parameters
body: <p>I am trying to create a schedule class in python that takes the start time, end time, and location of a meeting. So far I have:</p>
  
  <pre><code>class Schedule(Time):
  def __init__(self, start_time, end_time, location):
      self.start_time = start_time
      self.end_time = end_time
      self.location = location
      print (self.start_time)
      print (self.end_time)
      print (self.location)
  </code></pre>
  
  <p>I have a Time class completed which looks like this:</p>
  
  <pre><code>class Time():
      def __init__(self, init_hr = 12, init_min = 0, init_ampm = "AM"):
          self.hr = init_hr
          self.min = init_min
          self.ampm = init_ampm
  </code></pre>
  
  <p>Now I want to be able to make the parameters start_time and end_time (from the initialization of schedule) to be Time instances, however I'm confused on how I would go about doing that. Any suggestions?</p>