Question: [ Python ] Create a for loop that calculates the bonuses for all five bank tellers at the South Street Branch. The output should include

[Python] Create a for loop that calculates the bonuses for all five bank tellers at the South Street Branch. The output should include the teller's name and their bonus.
Bonus Structures
* rating 4.5 to 5=17%
* rating 4 up to but not including 4.5=10%
* rating 3 up to but not including 4=5%
* rating 1.5 up to but not including 3=2%
* rating 0 up to but not including 1.5=0%
employees ={'name': ['Alice', 'Bob', 'Charlie', 'David', 'Eve'],
'rating': [4.88,4.2,3.26,2.33,1.06],
'salary': [67000,52300,46000,45200,35100]}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!