Python for Everybody - More Conditional Structures

Tell us what’s happening:

Describe your issue in detail here.
Im completely new to this so was expecting not to get stuck so early on.
i really do not have a clue how to work this out.
ive watched the videos to this point but i do not understand how to approach this question

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/118.0.2088.76

Challenge Information:

Python for Everybody - More Conditional Structures

Hi there and welcome to our community!

Are you struggling with answering the question at the end of the video?

Given the following code:

temp = "5 degrees"
cel = 0
fahr = float(temp)
cel = (fahr - 32.0) * 5.0 / 9.0

Which line/lines should be surrounded by try block?

If so, tell me what you think would happen if you tried to run this code (without a try block).

1 Like

i dont understand how to solve this

Here are some resources:

Read through those, try it out in your fav Python interpreter and if you still have any problems/questions, open a topic and ask away

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.