Title |
User |
Message |
Date Posted |
Mistake |
jimpix |
LOL. I got a WA because I forgot to end the output sentence with a ".". |
Jul 03, 2016 - 4:11:14 am UTC |
Re: Error that makes no sense |
wgma00 |
Woops, sorry. The issue with your code was the spacing with the period at the end. In python when you use the print statement with consecutive terms (i.e. print(1,2)) it will automatically put a space... |
Feb 03, 2016 - 9:31:38 am UTC |
Re: Error that makes no sense |
H-Shienh |
um...my code is rounding down to the nearest square root. |
Feb 02, 2016 - 10:35:26 pm UTC |
Re: Error that makes no sense |
wgma00 |
What happens when the input isn't a perfect square? Remember you have to print out an integer not a double. |
Feb 02, 2016 - 8:59:07 am UTC |
Error that makes no sense |
H-Shienh |
everythings working fine, but im getting 0 all because its printing The largest square has side length 3 . Because of that space between the 3 and the period help, please? |
Feb 02, 2016 - 1:52:17 am UTC |
Re: Strange Problem |
Pixelwar |
Thanks, worked great! |
Aug 18, 2015 - 11:37:56 pm UTC |
Re: Strange Problem |
wgma00 |
I think you're getting the error because you're using print('{}'.format(test)). Try print('%d' % test) instead. |
Aug 18, 2015 - 11:08:01 pm UTC |
Strange Problem |
Pixelwar |
I don't get, what I did wrong, it's so simple, but it is jinxed. Hope someone can help. |
Aug 18, 2015 - 9:43:37 pm UTC |