#282. middleThree
middleThree
Background
Description
Given a string of odd length, return the string length 3 from its middle, so "Candy" yields "and". The string length will be at least 3.
Format
Input
Output
Samples
Candy
"and"
and
"and"
solving
"lvi"
Limitation
1s, 1024KiB for each test case.