Commit 193ead10 by BellCodeEditor

save project

parent 7077bb25
Showing with 10 additions and 4 deletions
i = 1 # 行 for i in range(1,10):
for j in range(1,10): for j in range(1,i+1):
print(j,"*",i,"=",(i*j)end= print('{:d}x{:d}={:d}'.format(j,i,i*j), end=' ')
\ No newline at end of file # 使某些列对齐
if j == 2 and i < 5:
print(' ', end='')
# 换行
if i == j:
print('');
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment