Function behaving differently

Printable View