I'd keep it simple and just duplicate the row you've just generated to create the 2nd diamond: def generateRow(rowIdx, maxNumOfAsterisks): ...
確定! 回上一頁