更新
This commit is contained in:
14
Python-100-Days/Day01-15/Day05/table.py
Normal file
14
Python-100-Days/Day01-15/Day05/table.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""
|
||||
|
||||
输出乘法口诀表(九九表)
|
||||
|
||||
Version: 0.1
|
||||
Author: 骆昊
|
||||
Date: 2018-03-02
|
||||
|
||||
"""
|
||||
|
||||
for i in range(1, 10):
|
||||
for j in range(1, i + 1):
|
||||
print('%d*%d=%d' % (i, j, i * j), end='\t')
|
||||
print()
|
||||
Reference in New Issue
Block a user