📜  在 Python 代码示例中使用 While 循环打印表格

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

代码示例2
a=int(input("enter table number"))
b=int(input("enter the number to which table is to printed"))
i=1
while i<=b:
    print(a,"x",i,"=",a*i)
    i=i+1