CBENU4CSE22451's submissions for Write a function