Beginner: Is the code of the professor really wrong?

Printable View