Files
freeCodeCamp/curriculum/challenges/japanese/23-python-for-everybody/python-for-everybody/web-services-json.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

623 B

id, title, challengeType, videoId, bilibiliIds, dashedName
id title challengeType videoId bilibiliIds dashedName
5e7b9f140b6c005b0e76f07d ウェブサービス: JSON 11 ZJE-U56BppM
aid bvid cid
419491911 BV1r3411672w 377332928
web-services-json

--question--

--text--

次のコードは何を表示しますか?

import json
data = '''
  [
    { "id" : "001",
      "x" : "2",
     "name" : "Quincy"
    } ,
    { "id" : "009",
      "x" : "7",
      "name" : "Mrugesh"
    }
  ]
'''
info = json.loads(data)
print(info[1]['name'])

--answers--

Quincy


Mrugesh


001


009


[エラー]

--video-solution--

2