python question calculate mean variance and standard deviation

Hello, I am having some issue making a simple python program that can calculate the mean, variance, and standard deviation from input file. I attached the user input, output format, and my existing code with this post. Instruction also attached. Program cannot use Numpy and have to include the “try…except” for error handling.

 
"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "Newclient"