class Objects:
   def __init__(self, name):
     self.name = name
   def sayHi(self):
      print("Hi! My name is " + self.name)
myObjects = []
object1 = Objects("David")
How do i put object1 into the myObjects? And if i did put object1 in, how do I call it's sayHi func?
 
    