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

541 B
Raw Blame History

id, title, challengeType, videoId, dashedName
id title challengeType videoId dashedName
5e7b9f050b6c005b0e76f058 根据条件执行 11 gz_IfIsZQtc conditional-execution

--question--

--text--

以下哪个代码缩进能够满足当“x=0”和“y=10”的时打印 "Yes"

--answers--

if 0 == x:
if y == 10:
print("Yes")

if 0 == x:
    if y == 10:
    print("Yes")

if 0 == x:
if y == 10:
    print("Yes")

if 0 == x:
    if y == 10:
        print("Yes")

--video-solution--

4