1. Engineering
  2. Computer Science
  3. write a new script that asks for four 4 numbers...

Question: write a new script that asks for four 4 numbers...

Question details

Write a new script that asks for four (4) numbers and stores the four (4) numbers in four (4) distinct variables. You will need to call input four (4) times to do this. Once you’ve gotall four (4) numbers, compute and print out the sum, and the average of these numbers. Use string formatting to only show four (4) decimal places for the average.

With python 3.7

I tried it but I did something wrong, it kept giving me 1.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution