要求:用户任意指定等腰三角形的行数,打印出等腰三角形代码:row=int(input('输入你要打印等腰三角形的行数:'))e=rowa=i=1while a<=row: e-=1 print(' '*e+'*'*i) i+=2 a+=1运行结果: