{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

cs1301-hw01-simple_func-face

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

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

View Full Document Right Arrow Icon
CS 1301 Individual Homework 1 – Python Practice & Face 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”).
Image of page 1

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

View Full Document Right 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.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern