PepCoding interview question

Very Easy. Basic functions aur patterns