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

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

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!