diff --git a/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody/more-conditional-structures.english.md b/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody/more-conditional-structures.english.md index 4af3f04e1c..83e5f48d89 100644 --- a/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody/more-conditional-structures.english.md +++ b/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody/more-conditional-structures.english.md @@ -8,6 +8,7 @@ videoId: HdL82tAZR20 --- ## Description +
More resources: - Exercise 1 @@ -15,36 +16,34 @@ More resources:
## Tests +
-```yml +````yml question: text: | Given the following code: ```python temp = "5 degrees" cel = 0 - try: - fahr = float(temp) - cel = (fahr - 32.0) * 5.0 / 9.0 - except: - print("temp should be a number") + fahr = float(temp) + cel = (fahr - 32.0) * 5.0 / 9.0 print(cel) ``` - Which line would cause the script to immediately stop because of an error? + Which line/lines should be surrounded by `try` block? answers: - | 1 + - | + 3 + - | + 3,4 - | 4 - | - 6 - - | - 7 - - | - None - solution: 2 -``` + None + solution: 3 +````