Question: Using Python Write a function print_simple_stats' with the parameters: numl, num2, num3. Use a string formatting expression with conversion specifiers to output * their product

Using Python Using Python Write a function print_simple_stats' with the parameters: numl, num2, num3.

Write a function print_simple_stats' with the parameters: numl, num2, num3. Use a string formatting expression with conversion specifiers to output * their product and their average * Output each requested value as the floating-point number with 2 digits after the decimal point, which can be achieved as follows: print({:.2f}'.format(your_value)) Ex: If the function is called with the values, 1, 2, 3, the output should be: Product: 6.00 Average: 2.00 I Do NOT include a function call, write only the function definition

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!