I can't understand the logic of turning the stairs around. I ve spent hours looking it up and re watching the video... Can someone explain it to me using pseudocode?


[Assuming: "turning the stairs" means printing the right pyramid in mario more]

The pseudocode is given in the mario more specification at 3:20 in the walkthrough

For each row:

  • Print spaces.
  • Print left hashes.
  • Print gap.
  • Print right hashes.

You must log in to answer this question.

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