print("Payroll program") print() name = input("Employee? ") hours = float(input("Weekly hours? ")) rate = float(input("Hourly rate? ")) if hours<=40: wages = hours * rate else: print("OVERTIME!") wages = 40*rate + (hours-40)*rate*1.5 print("Employee:", name, "Wages", "%.2f"%wages)