Learner objectives for this lesson
Rarely will you write a program that is free of errors. You'll need to diagnose and correct three kinds of errors:
On a blank sheet of paper, write the following:
In pairs, work on the following problems. Each student needs to turn in their own paper to get credit for MA3.
int
: standardPI
: otherif
: reserved keywordmain
: otherwhile
: reserved keywordhigh_score
: othertemp_value = old_value + new_value
? "temp_value is assigned old_value plus new_value"int
, float
, or str
only.str
float
int
float