for i in range(1, 10):
for j in range(1, i + 1):
print(j, '*', i, '=', i * j, end=" ") #end= 以。。。结尾
print()
python初学者-使用for循环做一个九九乘法表
猜你喜欢
转载自www.cnblogs.com/wang-yongxu/p/12544034.html
今日推荐
周排行