If you're seeing this message, it means we're having trouble loading external resources on our website.
如果你被网页过滤器挡住,请确保域名*.kastatic.org 和 *.kasandbox.org 没有被阻止.
要登录及使用可汗学院的所有功能,请在您的浏览器中启用 JavaScript.
rowNum ← 0 REPEAT 5 TIMES { colNum ← 0 REPEAT (5 - rowNum) TIMES { fillPixel(rowNum, colNum, "red") colNum ← colNum + 1 } rowNum ← rowNum + 1 }
fillPixel(row, column, color)
row
column
color
REPEAT n TIMES { <instructions> }
<instructions>
n
a ← expression
expression
a
a + b
b
a - b
a * b
a / b