# 定义两个数 num1 = 15 num2 = 8 # 计算乘积 product = num1 * num2 # 输出结果 print("两个数的乘积是:", product)
执行上述代码,输出结果将是:
两个数的乘积是: 120