class Human:
def __init__(self, name):
self.name = name
h1 = Human("Bob")
print(h1.name) # prints Bob, the name passed from constructor
class Person:
def __init__(self, fname, lname):
self.fname = fname
self.lname = lname
p1 = Person("John", "Smith")
print(p1.fname)
print(p1.lname)