R

Load this!

To successfully run this program, you need to grab a copy of the results . txt data file from the Head First Programming website. Be sure to put the data file in the same directory (or folder) that contains your code.

îsst drlve

It's time to see if the program works. Use IDLE to create a new file using the code from the previous page, save your program as high score . py, and then run it by pressing the F5 key:

the pvogva»

the pvogva»

Look's like you are trying to ¿0nvert something that didn't look like a number

Oh, no, somethings gone south here-.

Oh dear. It looks like something's gone wrong! The program has crashed with a ValueError, whatever that is.

Look's like you are trying to ¿0nvert something that didn't look like a number

Study the error message produced by Python. Is there something wrong with the Python code? Is there a problem with the file? Is there something wrong with the data? What do you think happened?

names and numbers

Was this article helpful?

0 0

Post a comment