This happened with me, too.
On Monday, October 14, 2019 at 8:44:09 AM UTC+2, sigma369 wrote:
>
> 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)))
>
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/spyderlib/b7132546-4c9c-451b-bf4c-7145a842a15d%40googlegroups.com.