Answer to Question #173251 in Python for Miza Luna

Question #173251

Write a program to prompt the user for hours and rate per hour to compute gross pay.


Enter Hours: 47

Enter Rate: 3.25

Pay: 152.75


1
Expert's answer
2021-03-20T21:31:55-0400

hours = int(input('Enter Hours: '))

rate = float(input('Enter Rate: '))

pay = hours * rate

print('Pay: ', pay)


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS