Files

61 lines
652 B
Markdown
Raw Permalink Normal View History

---
id: 5e7b9f060b6c005b0e76f059
title: 更多條件結構
challengeType: 11
videoId: HdL82tAZR20
bilibiliIds:
aid: 631930118
bvid: BV1Nb4y1r7z2
cid: 376337449
dashedName: more-conditional-structures
---
# --description--
更多資源:
\- [練習 1](https://www.youtube.com/watch?v=crLerB4ZxMI)
\- [練習 2](https://www.youtube.com/watch?v=KJN3-7HH6yk)
# --question--
## --text--
給出以下代碼:
```python
temp = "5 degrees"
cel = 0
fahr = float(temp)
cel = (fahr - 32.0) * 5.0 / 9.0
print(cel)
```
哪一行/幾行應該被 `try` 塊包圍?
## --answers--
1
---
3
---
3、4
---
4
---
## --video-solution--
3