My codes are not running

Hi, Im trying to run the below code and it is not running and im not getting any results.

It shows the input lines as – In [*]

ihours = input('Hours: ')
irate = input('Rate: ')
if hours > 40:
pay=((hours-40)1.5irate)+(40irate)
else:
pay=(40
irate)
print(pay)

Hi Priya,

You have to use * operator for multiplication in code. Like 40 * irate . Try this, if still you get error, upload a screenshot of your screen here.

Regards