Question: Using Python Given a string 'AbcDefG'. I want to generate a new string like 'AbCdEfG'. (1) Please write a function to finish it. (2) Extending
Using Python
Given a string 'AbcDefG'. I want to generate a new string like 'AbCdEfG'. (1) Please write a function to finish it. (2) Extending question (1), if I have a list of strings like ['ABCdE', 'FghiJK', 'LMNopq'], please write a function to generate a new list contains strings with the format in (1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
