cs1301-hw01-simple_func-face - CS 1301 Individual Homework...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 1301 Due: Friday, September 2nd, before 11:55 PM Out of 100 points Files to submit: 1. HW1.py 2. face.py This is an INDIVIDUAL assignment! Collaboration at a reasonable level will not result in substantially similar code. Students may only collaborate with fellow students currently taking CS 1301, the TA's and the lecturer. Collaboration means talking through problems, assisting with debugging, explaining a concept, etc. You should not exchange code or write code f or others. For Help: - TA Helpdesk – Schedule posted on class website. - Email TA's or use T-Square Forums Notes: Don’t forget to include the required comments and collaboration statement (as outlined on the course syllabus). Do not wait until the last minute to do this assignment in case you run into problems. Part 1 – Simple Functions You will write a few python functions for practice with the language. In your HW1.py file, include a comment at the top with your name, section, GTID/Email, and your collaboration statement. Also include each of the following functions. 1. celsiusToFahrenheit 2. cylinderVolume 3. timeCleanUp 4. rohrerIndex Function Name: celsiusToFahrenheit Parameters: None Return Value: None Description: 1. Write a user-interactive function to convert temperatures in Celsius to Fahrenheit. 2. Get the temperature in Celsius from the user; make sure to use a descriptive prompt so the user knows what to enter (e.g. “Enter the temperature in Celsius”).
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
You may assume that the user will enter a valid float (e.g. 34.4) and do not have to do error checking. 3.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

cs1301-hw01-simple_func-face - CS 1301 Individual Homework...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online