don't understand why this code doesn't work properly

Printable View