Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instructions: Please zip all your python source code files into one .zip file, and name it firstName_LastName_CS331_Lab2.zip. Then upload your .zip file onto D2L. Before

image text in transcribed
Instructions: Please zip all your python source code files into one .zip file, and name it firstName_LastName_CS331_Lab2.zip. Then upload your .zip file onto D2L. Before uploading, please fully test your python code in your favorite Python programming environment and make sure that they are correct. Thanks! 1. Write python code to do the following: receive a user input temperature in Celsius, convert it into Fahrenheit (20 points); Receive a user input temperature in Fahrenheit, convert it into Celsius (20 points). 2. Write a python program, read data values from a file, e.g. named data.txt, with at least ten data, calculate the average ( 20 points) and standard deviation (20 points) of all the data values, and output them on the screen (10 points) and simultaneously write the average and standard deviation back into the file named data.txt in the end ( 10 points).| Just in case you need the math formula for standard deviation (you may not need it at all?): =N1i=1N(xi)2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

=+ (a) Prove Cantelli's inequality P[X-mzalso2+a2' G2 @0.

Answered: 1 week ago