In my attempt to compute pay and print it, I have run into a few problems

Viewed 20

Whenever I type:

hrs = input("Enter Hours:")
h = float(hrs)
rate = input("Enter Rate: ")
r = float(rate)

if h > 40:
    h = h * r * 1.5
print("h")  

The following message appears to me:

h <---- mismatch

0 Answers
Related