input: Write a function to generate a staircase with height 'n' where n is an integer. The function should print '#' characters arranged in a staircase shape, starting with 1 '#' at the top and progressing to 'n' '#'s at the bottom. Each row should be right-aligned. If the height 'n' is 0, the function should 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("\r") 
  
  assert staircase(5) == None
  assert staircase(3) == None
  assert staircase(0) == None
output: def staircase(n): 
      for i in range(1, n + 1): 
          print(" " * (n - i) + "#" * i)