| Title |
User |
Message |
Place |
Date Posted |
| Re: code |
Venkat24 |
it still keeps on saying the same thing about indentation even though i use one kind of indentation. can i see my error? |
ccc07j1 |
Jan 18, 2016 - 10:29:33 pm UTC |
| Re: code |
Venkat24 |
i changed it, but i still dont understand what you mean |
ccc07j1 |
Jan 18, 2016 - 10:24:52 pm UTC |
| Re: pls help |
royanitra04 |
Hey Venkat, when rounding in python3, you can do "print(int(V)"(in your case). |
dwiteoct07p2 |
Jan 17, 2016 - 9:47:36 pm UTC |
| Re: pls help |
jargon |
Research the % operator. |
dwiteoct07p2 |
Jan 17, 2016 - 8:40:52 pm UTC |
| What's wrong with my code? |
Fawkes4494d3 |
Sorry for disturbing, but the judge is returning some runtime error and I cannot see the whole of it because it is getting clipped. Could you please check my code and tell me where I am going wrong. I... |
a1 |
Jan 17, 2016 - 8:07:52 am UTC |
| Re: pls help |
Venkat24 |
Ive also been researching the round() command in python and string formatting, it itself, and even other commands (e.g. import decimal) isnt working! |
dwiteoct07p2 |
Jan 17, 2016 - 3:25:06 am UTC |
| Re: pls help |
Venkat24 |
Even when using round command, with floats, i get 166.66666... |
dwiteoct07p2 |
Jan 17, 2016 - 3:19:09 am UTC |
| pls help |
Venkat24 |
my code is correct, its just that i cant round the output(e.g. output=166.666666...) |
dwiteoct07p2 |
Jan 17, 2016 - 3:15:29 am 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(). |
p299ex3 |
Jan 16, 2016 - 10:22:03 pm UTC |
| Re: test case 1 |
richmancartier |
Clipped means that the judge doesn't show all of your output. It will only show a few lines of output. Your output is just wrong(try checking if it exactly matches the output) |
ccc02j1 |
Jan 16, 2016 - 3:35:12 pm UTC |