string=input('enter string:') new='' for i in string: if i.islower(): i=i.upper() new+=i print('Uppercase String is',new)