text: import os
  import sys
  
  
  def main():
    """ Main function executes program lul """
  
    print(
      """
  ##################################
            MARIO JUMP v0.1
        Author: Patrick Gunsolley
  
      Press ctrl+c to manually exit
  ##################################
      """
    )
  
    while True:
      height = input("How high should Mario jump?\n")
      
      try:
        height = int(height)
        
        if (height < 1):
          print("There's nothing to jump! Enter a number greater than 0.")
          continue
      
        if (height > 100):
          print("Mario needs more mushrooms to jump more than 100.")
          continue
  
        break
      except ValueError:
        print(height + " is not a valid number!")
  
    space = " " * height
    hash = "#"
  
    for step in range(0, height):
      print(space + hash)
      space, hash = space[:len(space) - 1], hash + "#"
  
  
  if __name__ == "__main__":
    try:
      main()
    except KeyboardInterrupt:
      try:
        print("\nExiting...\n")
        sys.exit(0)
      except SystemExit:
        os._exit(0)