# How can this become smarter (shorter) ?

Hi, this looks like lots of code and could be more efficient (Zesty & Xenial )?