num = int(input( "Enter a number: " )) length = num width = num while width >= 0: print( " + " * length ) width = width - 1