(Solved): Q: Write a python p&…..

QUESTION

Question

Write a python program that takes a string as an input from the user and then modifies the string in such a way that the string always starts with an uppercase letter and the case of each subsequent letter is the opposite of the previous letter (uppercase character followed by a lowercase character followed by an uppercase character and so on). Finally the modified string is printed to show

Leave a Comment

Your email address will not be published. Required fields are marked *