Question: import math int _ 1 _ str = input ( Please enter the first integer: ) int _ 2 _ str = input (
import math
intstrinputPlease enter the first integer:"
intstrinputPlease enter the second integer:"
xintintstr
yintintstr
summation x y
printThe sum is summation
The Python program above receives two integers from user input, x and y and displays their
sum on screen.
Requirements:
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
