input: Write a function to generate a staircase of height 'n' where n is an integer. For each level of the staircase, print a line that has spaces followed by '#' characters to represent the staircase. If n is 0, print nothing.
  
  def staircase(n):
      for i in range(0, n):
          for j in range(0, n - i - 1):
              print(end=" ")
          for j in range(0, i + 1):
              print("#", end="")
          print()
  
  assert staircase(5) is None
  assert staircase(0) is None
  assert staircase(1) is None
output: def staircase(n):
      for i in range(0, n):
          for j in range(0, n - i - 1):
              print(end=" ")
          for j in range(0, i + 1):
              print("#", end="")
          print()