def main():
def firstName():
def lastName():
hourNumber = 40*2
hourRate = hourNumber//52
grossPay = hourNumber*hourRate
fedTax = grossPay *.1259
stateTax = grossPay *.0482
SocSecure = grossPay *.0765
totDeduct = grossPay + fedTax + stateTax + SocSecure
netPay = grossPay - totDeduct
print("your payroll calculator")
input("Your First name is ==>" )
print("my first name is ".format(firstName))
input("Your Last name is ==> " )
print("my last name is".format(lastName))
input("you have worked for ==>")
print("how much hours did you work for?".format(hourNumber))
input("your hourly rate is ==>")
print("your hourly rate is ".format(hourRate))
input("Your gross payy is ==> " )
print("your gross pay is"{:.2f}”.format(grossPay))
input(" the hours are ==>")
print("the hours you worked for are "{:.2f}\n”.format(userspay)
main()
def leave():
Restart = input("Would you like to have another payroll check? Y, y or N,n ==>")
if Restart == "Y" or Restart == "y":
main()
elif Restart == "N" or Restart == "n":
system("finished")
Print("have a good day!")
else:
leave()
main()