t=int(input()) for j in range(t): s=input() ans="" for i in s: if(i>="a" and i<="z"): ans=ans+chr(ord(i)-32) elif(i>="A" and i<="Z"): ans=ans+i print(ans)
To embed this program on your website, copy the following code and paste it into your website's HTML: