Question: Ask the user to input two numbers, represented by num 1 and num 2 . ii . Print the product of the two numbers. iii.

Ask the user to input two numbers, represented by num1 and num 2.
ii. Print the product of the two numbers.
iii. Print the quotient of the two numbers if the division is a legal operation.
Otherwise, it should print a message saying that you cannot divide by 0.
e. Below are some test cases that your program output should match. But your code should work with any combination of numbers put in by the user.
>%RUn PS3
P1.PY
Enter the first number: 4
Enter the second number: 3
The product of the numbers is: 12.0
The division of the numbers is: 1.3333333333333333
>
 Ask the user to input two numbers, represented by num1 and

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!