input: Write a function to print a staircase of height 'n', where n is an integer. The staircase should be right-aligned, with each step composed of the character '#'. If n is less than or equal to 0, print an empty line.
  def staircase(n): 
      if n <= 0:
          print()
          return
      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() 
  
  # Test cases
  assert staircase(5) == None
  assert staircase(1) == None
  assert staircase(0) == None
  assert staircase(-1) == None
output: def staircase(n): 
      if n <= 0:
          print()
          return
      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()