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.
You can download the answer here
bit.
ly/3a8Nt8n
Answer:
Incomplete Question.
I'll answer this question based on general terms
Explanation:
Two Factor Authentication, abbreviated as 2FA.
It is a type of authentication that requires the presentation of two credentials for access to personal data and information.
The credentials needed for a 2FA are
1. Either of the following; PIN, Password or Pattern
2. Your device or gadget which could be an ATM Card, Mobile Phone
3. Biometrics such as fingerprint, voice input
Number one is often referred to as "Something you know"
Number two is referred to as "Something you have"
Number three is referred to as "Something you are"
The 2FA doesn't require the three aforementioned credentials. It only needs just two of the credentials to provide its authentication.