Question: Answer to be coded in python using lists and while/for loops Write a functions named up low. This function will take one parameter which you

Answer to be coded in python using lists and while/for loops

Answer to be coded in python using lists and while/for loops Write

Write a functions named up low. This function will take one parameter which you can assume is a list of strings. This function should loop through all elements. If any element begins with an upper-case letter, it should replace the element with and_all_upper-case version of the string. Otherwise, it should convert the string to be all lower-case. See the tests below for examples: up_low(11) print(11) up_low (11) print (11) Should produce this output: [.BEN', 'ben", .joseph., JAMEsj You'll probably want to use the isupper, upper', and lower) functions to acomplish this

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!