import datetime class person(object)def __init__(selfname)"""create person""self name name trylastblank name rindex('self lastname name[lastblank+ :exceptself lastname name self birthday none def getname(self)"""returns self' full name""return self name def getlastname(self)"""returns self' last name""return self lastname def setbirthday(selfbirthdate)"""assumes birthdate is of type datetime date sets self' birthday to birthdate""self birthday birthdate def getage(self)"""returns self' current age in days""if self birthday =noneraise valueerror return (datetime date today(self birthdaydays def __lt__(selfother)"""returns true if self' name is lexicographically less than other' nameand false otherwise""if self lastname =other lastnamereturn self name other name return self lastname other lastname def __str__(self)"""returns self' name""return self name figure class person the following code makes use of person me person('michael guttag'him person('barack hussein obama'her person('madonna'print him getlastname(him setbirthday(datetime date( )her setbirthday(datetime date( )print him getname()'is'him getage()'days oldnotice that whenever person is instantiated an argument is supplied to the __init__ function in generalwhen instantiating class we need to look at the