Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started