Program - Set the values in the new list to upper case


Topic: Program - Set the values in the new list to upper case

Solution

list = "AMITKAYAL"
newlist = [x.upper() for x in list]
print(f"New list to upper case:{newlist}")



List all Python Programs