Write a program to convert all the sentances present in the list to upper


Topic: Write a program to convert all the sentances present in the list to upper

Solution

mylis = ['this is test', 'another test']
print(f'{[item.upper() for item in mylis]}')



List all Python Programs