Page 98 -
P. 98
textual data
Test Drive
Enter the new version of the program code into an IDLE edit window and
run it.
Here’s your
program code
typed into
IDLE.
But what's this?
It looks like something’s gone wrong with the program. What does
TypeError mean? What’s happened?
Look at the error message in detail. Try to identify which line in the code
caused the crash and guess what a TypeError might be. Why do you
think the code crashed?
you are here 4 63