Create a function that takes a string and returns the middle character(s). If the word's length is odd, return the middle character. If the word's length is even, return the middle two characters.
Program Name - Return the Middle Character(s) of a String
Issue No.- #206
Type issue number after hash(#)
Checklist(self check)
[x] Yes, this task assigned to me.
[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] My Filename is in camelCase format
[x] I have added Problem statement, Problem link in file.
Description
Create a function that takes a string and returns the middle character(s). If the word's length is odd, return the middle character. If the word's length is even, return the middle two characters.
Program Name - Return the Middle Character(s) of a String Issue No.- #206
Checklist(self check)