class Employee:
def __init__(self, first, last):
console.warn(f"__init__('{first}', '{last}')")
if not first:
raise ValueError('Missing first name')
if not last:
raise ValueError('Missing last name')
self.first = first
self.last = last
def __str__(self):
console.warn(f"__str__('{self.first}', '{self.last}')")
return f"Full Name: {self.first} {self.last}"
def get_employee():
console.warn('get_employee()')
first = input()
print(f"First name: {first}")
last = input()
print(f"Last name: {last}")
return Employee(first, last) # return class
employee = get_employee() # get class
# print(type(employee))
# if employee.first == 'Akio':
# employee.last = 'Kasai'
print(employee)