Write a program to prompt the user for hours and rate per hour to compute gross pay:
hours = input('Enter the hours you worked = ')
rate = input('Enter the rate = ')
pay = hours*rate
print(pay)
I am getting an error:
File "Hello", line 3, in pay = hours*rate TypeError: can't multiply sequence by non-int of type 'str'