Python basta fazoolin task 16 issue [classes]

Hello I am trying to solve the project on classes in the syllabubs
I have reached task 16 and its asking me me to make .available_menus() method that takes in a time parameter and returns a list of the Menu objects that are available at that time.
I am having an issue when creating the available.menus() method. I need to use an operand with .start_time() which is in the Menu class.
below is the code for the .available_menus() method which is in the Franchise class

def available_menus(self,time):
    available_menus = []
    for menu in self.menus:
      if time >= menus.start_time and time <= menus.end_time:
        available_menus.append(menu)
    return available_menus

when I run the code i get the error AttributeError: ‘list’ object has no attribute ‘start_time’
so how can I access the .start_time() in the Franchise class
code for the whole project

class Franchise:
  def __init__(self,address,menus):
    self.address = address
    self.menus = menus
  def __repr__(self):
    return "address is " + self.address 
  def available_menus(self,time):
    available_menus = []
    for menu in self.menus:
      if time >= menus.start_time and time <= menus.end_time:
        available_menus.append(menu)
    return available_menus

class Menu:
  def __init__(self,name,items,start_time,end_time):
    self.name = name
    self.items = items
    self.start_time = start_time
    self.end_time = end_time
  def __repr__(self):
      return  self.name + " available from " + str(self.start_time)+" until " + str(self.end_time)
  def calculate_bill(self,purchased_items):
    bill = 0
    for item in purchased_items:
      if item in self.items:
        bill = bill + self.items[item]
    return bill





#Brunch menu
brunch_menu = {
  'pancakes': 7.50, 'waffles': 9.00, 'burger': 11.00, 'home fries': 4.50, 'coffee': 1.50, 'espresso': 3.00, 'tea': 1.00, 'mimosa': 10.50, 'orange juice': 3.50
}
brunch = Menu("brunch menu",brunch_menu,1100,1600)

#early bird menu
early_bird_menu = {
  'salumeria plate': 8.00, 'salad and breadsticks (serves 2, no refills)': 14.00, 'pizza with quattro formaggi': 9.00, 'duck ragu': 17.50, 'mushroom ravioli (vegan)': 13.50, 'coffee': 1.50, 'espresso': 3.00,
}
early_bird = Menu("early bird menu",early_bird_menu,1500,1800)

#dinner menu
dinner_menu = {
  'crostini with eggplant caponata': 13.00, 'ceaser salad': 16.00, 'pizza with quattro formaggi': 11.00, 'duck ragu': 19.50, 'mushroom ravioli (vegan)': 13.50, 'coffee': 2.00, 'espresso': 3.00,
}
dinner = Menu("dinner menu",dinner_menu,1700,2300)

#kid menus
kids_menu = {
  'chicken nuggets': 6.50, 'fusilli with wild mushrooms': 12.00, 'apple juice': 3.00
}
kids = Menu("kids menu",kids_menu ,1100,2100)

menus = [dinner, kids, early_bird, brunch]

flagship_store = Franchise("1232 West End Road",menus)
new_installment = Franchise("12 East Mulberry Street",menus)
print(flagship_store.available_menus(1200))



In the video solution it says that the .start_time can also be accessed in the franchise class I followed the steps in the video but also got the same error

any ideas on how to solve the problem?

Your error occurs when attempting to address an attribute that lists don’t have. Is there a point where you’ve attempted to access an attribute of an object and passed a list instead of the object you intended to use?