Files
freeCodeCamp/curriculum/challenges/japanese/23-python-for-everybody/python-for-everybody/conditional-execution.md
freeCodeCamp's Camper Bot 9c20069eb2 chore(i18n,learn): processed translations (#53819)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-03-12 22:29:52 +05:30

652 B

id, title, challengeType, videoId, bilibiliIds, dashedName
id title challengeType videoId bilibiliIds dashedName
5e7b9f050b6c005b0e76f058 条件付き実行 11 gz_IfIsZQtc
aid bvid cid
206949935 BV1Jh411z7bY 376337035
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