Question: import math int _ 1 _ str = input ( Please enter the first integer: ) int _ 2 _ str = input (

import math
int_1_str=input("Please enter the first integer:")
int_2_str=input("Please enter the second integer:")
x=int(int_1_str)
y=int(int_2_str)
summation = x + y
print("The sum is", summation)
The Python program above receives two integers from user input, x, and y, and displays their
sum on screen.
Requirements:
1.(2 points) Extend the program so that it also calculates and displays the average and
product of the two integers.

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!