350,403 views
8 votes
8 votes
Make up a python program that can do the following

Write a program to ask the user to input the number of hours a person has worked in a week and the pay rate per hour.​

User Adrian Carr
by
3.1k points

1 Answer

26 votes
26 votes

Answer:

hrs=input("Enter Hour:")

rate=input("Eenter Rate per Hour:")

pay=float(hrs)*float(rate)

print("Pay:", pay)

Step-by-step explanation:

User Patrick Peters
by
3.4k points