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
No active XP Potion
Accept a Quest
Login to submit answers
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.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).
Focus Editor
Alt+Shift+]
Login to Submit
Login to Run
Login to view solution