Tower Stairs (Patterns)

Read n and draw a right-aligned staircase of with n steps (no trailing spaces).

Input: One integer 1 ≤ n ≤ 50.

Output: n lines.

Difficulty: Medium. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.

Hint

  • Line i has n − i spaces then i hashes.