Question: Question 1 1 pts What function is used to express the gross pay in dollars and cents format? Assume the variable is called gross_pay. O

Question 1 1 pts What function is used to express the gross pay in dollars and cents format? Assume the variable is called gross_pay. O round(gross_pay, 2) O str(gross_pay) O round(gross_pay) O int(gross_pay) Question 2 1 pts When the user enters the number of hours worked as a whole number, which function below should be applied to that input before calculating the gross pay? O None of these trunco) int() O str()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
