2020-09-29 22:09:04 +02:00

764 B

id, title, challengeType, videoId
id title challengeType videoId
5e7b9f060b6c005b0e76f059 More Conditional Structures 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