Files
freeCodeCamp/curriculum/challenges/japanese/07-scientific-computing-with-python/python-for-everybody/more-conditional-structures.md

61 lines
709 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