Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Pyhton Define three variables var 1 , var 2 and var 3 . Calculate the average of these variables and assign it to average. Print
Pyhton
Define three variables var var and var Calculate the average of these variables and assign it to average. Print the average. Add at least one comment.
Examples:
python progpy
enter var:
enter var:
enter var:
the average is:
python progpy
enter var:
enter var:
enter var:
the average is:
python progpy
enter var:
enter var:
enter var:
the average is:
put the code in a file called progpy
use the following code as a starter.
var intinputenter var:
var intinputenter var:
var intinputenter var:
#your code starts here:
#your code ends here
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started