How to avoid writing more code in a function?

Printable View