[work]: 7.1.1 Ghost Codehs
A ghost needs to know where it is. In the CodeHS graphics library, every object needs an x and a y coordinate.
: Instead of typing 35 for the radius every time, you define HEAD_RADIUS = 35 . This makes the code easier to update—if you change the constant, the whole ghost resizes automatically. 7.1.1 ghost codehs
To understand the assignment, one must first understand where it sits in the curriculum. In the CodeHS AP CSA course, Unit 7 typically marks the transition into Object-Oriented Programming . A ghost needs to know where it is