I am using spyder 3.6
below is my code.
scrip still runs and give error even after quit command (if any of input value us not numerical). please help
# HW1 #hw2
x= input('enter hours\n')
try:
x=float(x)
y=input('enter rate\n')
y=float(y)
except:
print('please enter numnerical values')
quit()
xx=float(0.00)
yy=float(0.00)
if x>40:
xx=x-40
x=40
yy=1.5*y
print ('total pay is ',((x*y+xx*yy)))