##Example 1 def canRetire (age, years): if (age+years)>= 88: return True if age >= 62 and years >= 20: return True if age >= 65: return True return False ######################### ##Example 2 def canRetire(age, year): if (age+year)>=88: canRetire= True elif age>=62 and year>=20: canRetire= True elif age<65: canRetire= True else: canRetire= False return canRetire ######################### ##Example 3 def canRetire(age, service): if age+service>=88: return True elif age>=62 and service>=20: return True elif age>=65: return True else: return False