Question: > Define a function print_product_of_20) that has two parameters, and outputs 'Product: followed by the parameters' product with a precision of one digit. print_product_of_2()
> Define a function print_product_of_20) that has two parameters, and outputs 'Product: followed by the parameters' product with a precision of one digit. print_product_of_2() should not return any value. Click here for example Note: The calculation to find the product of two values x and y is (x * y). print (f' (my float:.1f') outputs my_float with a precision of one digit. 1 *** Your code goes here *** 4 num_A = float(input()) 5 num B float (input()) 6 num X = float(input()) 7 num_Y = float(input()) 8 9 print_product_of_2(num_A, num_B) 10 print_product_of_2(num_X, num_Y)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
