input: Write a function to print a staircase of height 'n' using Python. The staircase should be right-aligned and made of the character '#'. If the given height is 0, print an empty line.
  staircase(5)
  
  # Output
      #
     ##
    ###
   ####
  #####
  assert staircase(0)==''
  assert staircase(1)=='#\n'
  assert staircase(2)==' #\n##\n'
  assert staircase(3)=='  #\n ##\n###\n'
  assert staircase(4)=='   #\n  ##\n ###\n####\n'
output: def staircase(n):
      for i in range(1, n + 1):
          print(' ' * (n - i) + '#' * i)