Ann is fond of playing computer games, and she bought five new games. After buying them, her mum asked her about the prices of each game. Ann called them one-by-one, and mother wrote them down. There are five prices (integers) in the input, one per line. Use all of them to make a list (dataset), then print its variance.
Statistics module
The variance
Report a typo
Sample Input 1:
1
1
2
7
9Sample Output 1:
11.2Write a program in Python 3
import statistics
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.