As a newbie programmer

Text Editor @ Dcoder

Dcoder icon

Problem: John has created a text editor, which has lots of features but he forgot to add the conversion of Lowercase alphabet to an Uppercase Alphabet. He asks you for help to complete this task for him.

Input: The first line of input consists of single integer T denoting the number of test cases.

Then in the following T lines, each line has a String s of lowercase alphabet.

Output: For each test case print the uppercase of given string.

 

Constraints: 1<=T<=100.

1<=String Length<=10^2.

Sample Input: 2

dcoder

john

Sample Output: 

DCODER

JOHN

for i in range(int(input())):
  print(input().upper())

How do you rate this article?

1


Lochard
Lochard

20240228 Arrived in the UK for about 2 week. All my fears persist. Some are even getting worse. https://github.com/locharp/asylum_diary/


As a newbie programmer
As a newbie programmer

Sharing entry level codes. My snippets on GitHub https://github.com/locharp/code-snippets

Publish0x Publish0x

Reward the author with $0.01 in crypto, and earn yourself as you read!

20% to author / 80% to me.
Rewards are FREE. Publish0x pays them, not you.

Page not displaying correctly?