Python program to create a function which takes three numbers as argument and return their multiply

preview_player
Показать описание
In this video we create a function which takes three numbers as argument and returns their multiplication.
# Create a function
def multiply_of_three(a,b,c):
d=a*b*c
return d

x=int(input("Enter first number : "))
y=int(input("Enter second number : "))
z=int(input("Enter third number : "))

m=multiply_of_three(x,y,z)
print(f"Multiply of {x},{y} and {z} is {m}")
#tarunsir #python #learncode #function
Рекомендации по теме
Комментарии
Автор

Add three number with return and with agument

AkashAkash-czcg