Question: ( a ) Write a function that takes a string and creates another string substituting each character of the original string with the character immediately
a Write a function that takes a string and creates another string substituting each character of the original string with the character immediately before it
Sample input: "all is well"
Output: zkk hr vdkk
b Write a function that takes a List of integers and returns True if the absolute difference between each adjacent pair of elements strictly increases, Otherwise return False.
Sample input:
Output: True
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
