Title |
User |
Message |
Date Posted |
typo |
wangzilv1998 |
There is a typo in the sample output. The "!" in the input disappears in the output |
Jan 25, 2016 - 2:34:30 pm UTC |
Re: my code |
jargon |
Exactly what it says. The lower() function takes no parameters but you gave it one. It's just called on a string, i.e. str.lower(). |
Jan 16, 2016 - 10:22:03 pm UTC |
Re: my code |
Venkat24 |
ive defined it as a string but it still say the same thing |
Jan 16, 2016 - 2:34:38 pm UTC |
Re: my code |
royanitra04 |
You haven't defined n yet. It's still an input. |
Jan 16, 2016 - 2:58:21 am UTC |
Re: my code |
Venkat24 |
this is what it says Traceback (most recent call last): File "./prog.py", line 4, in TypeError: lower() takes no arguments (1 given) |
Jan 16, 2016 - 12:32:56 am UTC |
my code |
Venkat24 |
i dont know whats wrong with my code, it uses the lower statement in python but it still doesnt work. Can someone pls help? |
Jan 16, 2016 - 12:32:26 am UTC |
Re: Re: It's just that it seems very vague... |
bbi5291 |
This is a bug, but I actually don't know how to fix it. It's not very high on my list of things to do (right now I have to work on the problem setter interface), but if enough people complain about it... |
Nov 15, 2010 - 11:34:47 pm UTC |
Re: It's just that it seems very vague... |
helios26 |
Thanks...I was kind of confused... Also, (1 ≤ T ≤ 100) isn't ≤ ≤ in html? |
Nov 15, 2010 - 11:29:28 pm UTC |
Re: It's just that it seems very vague... |
bbi5291 |
The first line of input tells you the number of test cases. Each line after that is one test case. Just look at the sample input and sample output; it's not hard to figure out. |
Nov 15, 2010 - 6:47:11 am UTC |
It's just that it seems very vague... |
helios26 |
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 l... |
Nov 15, 2010 - 2:59:31 am UTC |