jasmithachowdary_'s submissions for Write a function