Respuesta :
Answer:
def multiply():#defnition of a function multiply.
return str(int(input("enter the vale of first whole number: "))*int(input("Enter the value of the second whole number: "))) # it is used to take the two value and then print the multiplication of that value after converting it into integer.
Explanation:
- The above code is in python language, which holds the function multiply. The user can use this function when he calls the function.
- The first line of the function will render a message to enter the two whole numbers and then take the two values from the user.
- The value is get converted into an integer value.
- Then the value is getting multiplied.
- Then the value is returned with the help of return function after converting it into a string value.
- The input function is used to take the value, int function is used to convert the value in integer,'*' is used to multiply, and str function is used to convert the multiplication into a string value.
Answer:
str(int(input("enter the vale of first whole number: "))*int
(input("Enter the value of the second whole number: ")))
Explanation:
boom this works bc it does boom