I made something

So, i made a Gross Pay calculator and it actually works! it is in Python. Try it out.
Here’s the code:

wage = eval(input("How much do you make: "))
hours = eval(input("How many hours do you work: "))



if hours <= 40:
 pay = hours * wage
else:
 pay = ((hours-40)*(wage * 1.5) + (wage*40))

print(pay)

1 Like