I've ran into what appears to be a problem. I initially thought I finished this pset but when I was checking my work I noticed the #'s always started from the 8th character along the line? Even if I put in 1 it will be in the 8th position.

I don't necessarily want a solution, just for someone to look at my code and see if I need to approach the problem differently (starting again), or if I can find a solution in the code I've already produced.

I'm enjoying the problem solving aspect to this course but some input would be much appreciated. Pic below!

Pyramid starting point


You solved the problem correctly for one case, which is a good first step. But you still have to generalize your solution, try to see how that 8 is connected to the case your program works and figure out how you can make it more general.

You must log in to answer this question.

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