DraftKings Interview Question

Write a function that outputs the variance given a list of integers.