#Workers in a company are paid £8 per hour for each hour they work up to a
#basic working week of 40 hours, and £12 an hour for any overtime they work.
#Write a program that asks the user to enter the number of hours worked
#and outputs the total pay for the week.

below is the which i have made, can cheak to see if it works. thnaks you

Code:
workedhours = input ("\nPlease enter number of hours worked
...