How do I print my new employee’s full_time_wage results?
If you’ve created the new
full_time_wage() method in your
PartTimeEmployee class, then you’ll need to create your
milton is a
PartTimeEmployee object, so you’ll create it like this:
milton = PartTimeEmployee(“name_here”)
And then we use the methods available in the
PartTimeEmployee class by attaching them to our
milton object, like this:
Don’t forget to pass it a value surrounded by parentheses!