for循环-等腰三角形时间:2022-10-13 12:10:03 #!/bin/bashread -p "请输入行数:" linefor ((i=1;i<=line;i++));dofor ((k=1;k<=line-i;k++));doecho -e " \c"donefor ((j=1;j<=2*i-1;j++));doecho -e "*\c"doneecho done