maxhight = int ( input ("Enter a number:") ) starting = 1 for starting in range (maxhight) : print ("*" * starting ) starting = starting + 1 while starting >= 0 : print ("*" * starting ) starting = starting - 1