A row of the times table · 乘法表的一行
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · 此页面需较新浏览器(支持 SharedArrayBuffer)。请升级 Chrome、Edge、Firefox 或 Safari 至最新版本。
This one builds on a lesson you haven't finished yet. Do that lesson first: · 此任务基于您尚未完成的课程。请先完成以下课程:
Python Basics · Python 基础 · While loops · while 循环 →
English
A row of the times table
Use a while loop to print the 3 times table from 3 x 1 to 3 x 5, as 3, 6, 9, 12, 15 — one per line.
The counter and the thing you print do not have to be the same. i counts 1 to 5; what you print is 3 * i.
中文
乘法表的一行
用 while 循环打印 3 的乘法表,从 3 x 1 到 3 x 5,打印成 3、6、9、12、15,每个一行。
计数器和你打印的东西不一定是同一个。i 从 1 数到 5;你打印的是 3 * i。
Use a while loop to print the 3 times table from 3 x 1 to · 到 3 x 5, as 3, 6, 9, 12, 15 — one per line. · 用 while 循环打印 3 的乘法表,从 3 x 1 到 3 x 5,打印成 3、6、9、12、15,每个一行。
Click Run to see the output here. · 点击“运行”查看此处输出。