Question: (PYTHON CODE) Write a program that calls two functions named half and multi, which respectively return a value that is half that of the argument

(PYTHON CODE)

Write a program that calls two functions named half and multi, which respectively return a value that is half that of the argument and 10 times multiplied of that argument. (Assume the number variable references a float value). Write code for the function.Write a program that calls two functions named half and multi, which respectively return a value that is half that of the argument and 10 times multiplied of that argument. (Assume the number variable references a float value). Write code for the function.

result= half(number)

result1=multi(number)

Code must ask for a number from user, and pass that value to the half() function. The product then gets sent to the multi() function.

For example, if 2 is entered as the number, the half() function should output 2 and the multi function should give final answer of 20

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!