enter image description here

Guys, now the check50 is working, but shows me a few errors as you can see on the pic, on height number 1, 2, 23, and 24. And the output seems fine to me, as in according to the specs. (On the pics shows only 1, 2 output.)

Am I wrong? Do you guys see any problem with the error outputs?


1 Answer 1


Pay attention to extra spaces. Check50 expects that yo do exactly what has been asked. If you put extra space, it would look the same for your eyes, but not for check50. I strongly suspect (not sure), from scare info that you give, that you have one extra space before ##.

  • Output is " ##\n" Note the space between the double quote and the first #. There's no doubt that there's an extra space. Look at the result for a pyramid of height 1.
    – Cliff B
    Commented Jun 30, 2017 at 18:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .