题解 | #九九乘法表#
九九乘法表
http://www.nowcoder.com/practice/063f2871333149c9bc7624128b2987a2
a = int(input())
for i in range(1,a+1):
for j in range(1,i+1):
print(str(i)+"*"+str(j)+"="+str(i*j), end=" ")
print()
九九乘法表
http://www.nowcoder.com/practice/063f2871333149c9bc7624128b2987a2
a = int(input())
for i in range(1,a+1):
for j in range(1,i+1):
print(str(i)+"*"+str(j)+"="+str(i*j), end=" ")
print()
相关推荐