Tcs Coding Questions 2021 | ((better))

Consider the following

Accept a string and an integer K . Shift every character in the string K positions forward in the alphabet. (Assume the string contains only lowercase alphabets). If the shift goes past 'z', wrap around to 'a'. Tcs Coding Questions 2021

Example:

for i in range(mid): print(arr[i], end=" ") Consider the following Accept a string and an integer K

The questions in 2021 largely focused on: Tcs Coding Questions 2021

Go to Top