📜  1.使用函数python代码示例编写两个数字相乘的程序

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

代码示例1
def add_num(a,b):#function for multiplication
    multiply=a*b;
    return multiply; #return value
num1=int(input("input the number one: "))#input from user for num1
num2=int(input("input the number one: "))#input from user for num2
print("The product is",add_num(num1,num2))#call te function