You are given a string consisting of only lowercase English alphabet letters. Your task is to convert the string into uppercase English alphabet letters.
For Example:If str = “coding”, the uppercase of the string will be “CODING”.
Hence, the output is “CODING”.
Input Format :
The first line of the input contains an integer, 'T’, denoting the number of test cases.
The first line of each test case will contain a non-empty string.
Output Format :
For each test case, print the string consisting of uppercase English alphabet letters.
Print a separate line for each test case.
Note :
You do not need to print anything, it has already been taken care of. Just implement the given function.
1 <= T <= 10
1 <= str.length <= 10000
Time limit: 1 sec
2
coding
ninjas
CODING
NINJAS
For the first test case,
str = “coding”, the uppercase of the string will be “CODING”.
Hence, the output is “CODING”.
For the second test case,
str = “ninjas”, the uppercase of the string will be “NINJAS”.
Hence, the output is “NINJAS”.
2
abcd
aba
ABCD
ABA