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

652 B

id, title, challengeType, videoId, bilibiliIds, dashedName
id title challengeType videoId bilibiliIds dashedName
5e7b9f060b6c005b0e76f059 更多条件结构 11 HdL82tAZR20
aid bvid cid
631930118 BV1Nb4y1r7z2 376337449
more-conditional-structures

--description--

更多资源:

- 练习 1

- 练习 2

--question--

--text--

给出以下代码:

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