Count 1, 2, 3… · in code: For Loops
Counts from one number to another. Each lap, the counter holds the next number.
i.2 counts in twos. -1 counts down.Open it in the editor, press Run, then change it and run it again.
i from 1 to 5Repeat →
i + " x 3 = " + i * 3back to the top for the next lap
1 x 3 = 32 x 3 = 63 x 3 = 94 x 3 = 125 x 3 = 15for i in range(1, 6): print(str(i) + " x 3 = " + str(i * 3))-1: 10, 9, 8…