id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

convertToFahrenheit


Write a convertToFahrenheit() function with a degreesCelsius parameter. This function returns the number of this temperature in degrees Fahrenheit.


convertToFahrenheit(0) → 32.0
convertToFahrenheit(100) → 212.0
convertToFahrenheit(-1) → 30.2

...Save, Compile, Run (ctrl-enter)

def convertToFahrenheit(degreesCelsius):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Difficulty: 101 Post-solution available

Copyright Nick Parlante 2017 - privacy