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 newUsing 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!