

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 5
click for more info
Not enough gems
Cost: 6 gems
1: Functions
incomplete
2: Function Review
incomplete
3: Multiple Parameters
incomplete
4: Printing vs. Returning
incomplete
5: Where to Declare Functions
incomplete
6: Order of Functions
incomplete
7: Community
incomplete
8: Boots Interview
incomplete
9: Solutions
incomplete
10: None Return
incomplete
11: Multiple Return Values
incomplete
12: Parameters vs. Arguments
incomplete
13: Default Values
incomplete
14: Curse
incomplete
15: The Training Grounds
incomplete
16: Enchant and Attack
incomplete
17: Archmage
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
Getting help is a critical part of learning to code (and even in your day to day working as a developer). Boots and your spellbook are great first lines of defense. But, sometimes you just need a human. Luckily, we have an amazing Discord community full of developers and fellow students ready to help you out.
So...
#help... forums to ask questions. Also, if you help others in the Discord, you'll get Karma which will help you earn fellowship achievements.☰) at the top of the screen#help... forums to ask questions. Also, if you help others in the Discord, you'll get Karma which will help you earn fellowship achievements.When asking for help in the Discord, use the "share" button at the bottom of the lesson explanation to generate a link that includes your current code.
Enough Discord talk, back to writing code.
In Fantasy Quest, characters lose health due to heat exhaustion. The game tracks the temperature in Freedom units (Fahrenheit), but we need to display the temperature in Celsius for players outside the US. Here's the formula to calculate the temperature in Celsius from Fahrenheit (f):
5/9 * (f - 32)
Complete the to_celsius function body. It should return the temperature in Celsius for a given Fahrenheit temperature (f parameter).