Bluebook
Lower Case
Given an input string, whose length is less than 256, output the string with all of the upper case letters ('A'..'Z') converted to the corresponding lower case letter ('a'..'z').
Input
Line 1: one integer T (1 ≤ T ≤ 100) denoting the number of test cases.Lines 2..T+1: one string of length < 256 composed of lower case letters ('a'..'z'), upper case letters ('A'..'Z'), and random characters ('*', ';', etc).
Sample Input
2 abCDefg WEEEIPWNNOOBS~~?~?~??@#!#$%?$^?$%*
Sample Output
abcdefg weeeipwnnoobs~~?~?~??@#~#$%?$^?$%*
All Submissions
Best Solutions
Point Value: 3
Time Limit: 2.00s
Memory Limit: 16M
Added: Oct 27, 2008
Languages Allowed:
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3
Comments (Search)
Traceback (most recent call last):
File "./prog.py", line 4, in <module>
TypeError: lower() takes no arguments (1 given)
Line 1: one integer T (1 ≤ T ≤ 100) denoting the number of test cases.
Lines 2..T+1: one string of length < 256 composed of lower case letters ('a'..'z'), upper case letters ('A'..'Z'), and random characters ('*', ';', etc).
What would T+1 mean? Because it says Lines 2, is the input one string or multiple strings?
If someone can clarify...
thanks...
Also, (1 ≤ T ≤ 100) isn't ≤ ≤ in html?