### 算法一:画O字 function shengchengO(n) { let len = n * 4 for(let i = 1; i <= len; i++){ let row = Math.ceil(i / n) let line = "" for(let j = 1; j <= len; j++) { if(row == 1) { if( j <= n - i + 1) { line...