题解 | #乘法表#
乘法表
http://www.nowcoder.com/practice/ff797e49df674c049021e8be2ab026e6
这格式真累人,闲置两天又捡回来做
for i in range(1, 10):
for j in range(1, i+1):
print(j, "*", i, "=", str(j * i).rjust(2, " "), sep="", end= " ")
print()
乘法表
http://www.nowcoder.com/practice/ff797e49df674c049021e8be2ab026e6
这格式真累人,闲置两天又捡回来做
for i in range(1, 10):
for j in range(1, i+1):
print(j, "*", i, "=", str(j * i).rjust(2, " "), sep="", end= " ")
print()
相关推荐