Generate a new string and replace all the character of a next character . | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Generate a new string and replace all the character of a next character .

Like a string is "Robert" than in place of 'R' we put 'S' in place of 'o' we put 'p' '

18th Jun 2021, 6:50 AM
Sahaj Sahu
Sahaj Sahu - avatar
4 Answers
+ 4
Hi! Please, show us your code attempt! Thx!
18th Jun 2021, 6:56 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
18th Jun 2021, 7:08 AM
The future is now thanks to science
The future is now thanks to science - avatar
0
But it is not working
19th Jun 2021, 6:10 AM
Sahaj Sahu
Sahaj Sahu - avatar
0
Can u elaborate more ?
19th Jun 2021, 9:52 AM
Shahid Iqbal
Shahid Iqbal - avatar