While practicing annotations, Steven has found a strange script which seems to be made of two functions. But the lines are so messed up.
Help him rearrange the lines so he can understand what this script is about.
While practicing annotations, Steven has found a strange script which seems to be made of two functions. But the lines are so messed up.
Help him rearrange the lines so he can understand what this script is about.
return gift_costs.__annotations__
def annotate():
def gift_costs(employees: 'current number of employees', mid_price: 'midrange price per gift') -> 'estimative costs with christmas gifts for employees':
return employees * mid_price
print(annotate())
Create a free account to access the full topic