Given a string, replace each its character by the next one in the English alphabet (z would be replaced by a).
For inputString = "crazy"
, the output should be
alphabeticShift(inputString) = "dsbaz"
.
-
[time limit] 4000ms (py3)
-
[input] string inputString
Non-empty string consisting of lowercase English characters.
Guaranteed constraints:
1 ≤ inputString.length ≤ 10.
-
[output] string
The result string after replacing all of its characters.