stars = int(input( "Enter a number: ") ) for num in range( 1,stars ) : print(num * "* ") count = stars while count > 0 : print(count * "* ") count = count -1