Answers for "how to change all elements in a list to uppercase"

1

how to make a list copy in python with lowercase check

current_users_lower = []
for user in current_users:
    current_users_lower.append(user.lower())
Posted by: Guest on December-01-2020
0

how to convert list to all uppercase

#Capitalise list

c = ['Kenya','Uganda', 'Tanzania','Ethopia','Azerbaijan']

converted_list = [x.upper() for x in c]print(converted_list)print("Remember to clap :-)")
Posted by: Guest on May-15-2020

Code answers related to "how to change all elements in a list to uppercase"

Python Answers by Framework

Browse Popular Code Answers by Language