python
1{'matches': [{'platformId': 'JP1', 'gameId': 168358261, 'champion': 4, 'queue': 420, 'season': 11, 'timestamp': 1521026037633, 'role': 'SOLO', 'lane': 'MID'}, {'platformId': 'JP1', 'gameId': 168377531, 'champion': 163, 'queue': 420, 'season': 11, 'timestamp': 1521023974637, 'role': 'SOLO', 'lane': 'MID'}, {'platformId': 'JP1', 'gameId': 168377205, 'champion': 245, 'queue': 420, 'season': 11, 'timestamp': 1521022113320, 'role': 'DUO', 'lane': 'TOP'}, {'platformId': 'JP1', 'gameId': 168366421, 'champion': 53, 'queue': 420, 'season': 11, 'timestamp': 1521016653949, 'role': 'DUO_SUPPORT', 'lane': 'BOTTOM'}, {'platformId': 'JP1', 'gameId': 168366013, 'champion': 163, 'queue': 420, 'season': 11, 'timestamp': 1521014197150, 'role': 'SOLO', 'lane': 'MID'}], 'startIndex': 0, 'endIndex': 20, 'totalGames': 172}
こうした辞書の中に辞書があるデータを使って a b c d e それぞれの変数に{'platformId': 'JP1', 'gameId': 168358261, 'champion': 4, 'queue': 420, 'season': 11, 'timestamp': 1521026037633, 'role': 'SOLO', 'lane': 'MID'}という形の辞書だけを入れたい場合ってどうすればよいのでしょうか
回答2件
あなたの回答
tips
プレビュー