uppercase elements in list python code example
Example 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())
Example 2: 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 :-)")