Python Bad Aim error response


I keep getting this error response when I print to the dash.

"Traceback (most recent call last):
File “python”, line 25, in
ValueError: invalid literal for int() with base 10: ‘SCT’ "

Please can someone tell me whats wrong with the code at at line 25 or the code in general.


With that particular error message, note that it says that the input read was SCT – something that codecademy entered, they are trying and failing to use the input stream for two purposes and are getting things mixed up. Refreshing page might put the exercise back in a sane state (Good old “have you tried restarting it?”)


ok, thanks. It worked


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.