Files
freeCodeCamp/curriculum/challenges/chinese/07-scientific-computing-with-python/python-for-everybody/more-conditional-structures.md
Randell Dawson 94f0cf0ef8 chore(learn): Remove remaining isHidden keys from frontmatter (English and Chinese challenges) (#39809)
* fix: remove isHidden key from tool template

* fix: removed isHidden key from English challenges

* fix: remove isHidden key from Chinese challenges
2020-10-08 14:18:47 +02:00

729 B

id, challengeType, videoId
id challengeType videoId
5e7b9f060b6c005b0e76f059 11 HdL82tAZR20

Description

More resources: - Exercise 1 - Exercise 2

Tests

question:
  text: |
    Given the following code:
    ```python
    temp = "5 degrees"
    cel = 0
    fahr = float(temp)
    cel = (fahr - 32.0) * 5.0 / 9.0
    print(cel)
    ```
    Which line/lines should be surrounded by `try` block?

  answers:
    - |
      1
    - |
      3
    - |
      3,4
    - |
      4
    - |
      None
  solution: 3