摘要:
import turtleturtle.pencolor("yellow")turtle.pensize("5")turtle.fillcolor("red")a = 0b = 0for i in range(30): a += 1 if i % 6 == 0: a = 0 b += 1 turtl 阅读全文
摘要:
"""演示九九乘法表案例"""# 分析# 1.结构:循环嵌套(外层,9次,内层,依次增加1-9)# 2.打印内容: X * Y = Z "%d*%d=%d" % (X,Y,Z)# 3.打印对其:使用指标位符号\t# 1 x 1 = 1# 1 x 2 = 2 2 x 2 = 4i = 0while i 阅读全文