Answer:
def calculate_pay(total_worked_hours, rate_per_hour):
if total_worked_hours > 40:
return (40 * rate_per_hour) + ((total_worked_hours - 40) * 2 * rate_per_hour)
else:
return total_worked_hours * rate_per_hour
Explanation:
- Create the calculate_pay function that takes 2 parameters.
- Inside the function check whether the total_worked_hours is greater than 40 and then return the pay by calculating with the help of formula for work over 40 hours.
- Otherwise return the pay by multiplying the total_worked_hours with rate_per_hour.
Answer:
C
Explanation:
No explanation, self-explanatory. I used class main instead...
Blaster Worm., the worm has been designed to tunnel into your system and allow malicious users to control your computer remotely. A Trojan horse is not a virus. It is a destructive program that looks as a genuine application. Unlike viruses, Trojan horses do not replicate themselves but they can be just as destructive.
Answer:
Photoshop- if this is for school I THINK, but I use Procreate for IOS
Explanation: