📜  如何使用python打印乘法表 - Python代码示例

📅  最后修改于: 2022-03-11 14:47:24.103000             🧑  作者: Mango

代码示例1
num = int(input('Which table you need write it here:'))

starting_range = int(input('write the number from where to start:'))
ending_range = int(input('write the end of the number you need:'))
print()
print('So This is the table of', num)
for i in range(starting_range, ending_range + 1):
   print(num, 'x', i, '=', num*i)