Write The Above Function Using Strings And Test The Function Using Course Hero

Write The Above Function Using Strings And Test The Function Using Course Hero