📜  python程序将两个数字相乘并将答案与第二个变量相乘 - Python代码示例

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

代码示例1
n=10
num1 = 2
num2 = 3

for i in '10':
    num3 = num1 * num2
    num1 = num2 *num3
    num2 = num3 * num1
    print(m)
    print(num1)
    print(num2)
#2,3,6,18,108,1944