The unusual response

Report a typo

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.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                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