• 2022-07-02
    把一个JSON格式数据赋给变量color:color = {"色彩":[ {"暖色":["红","橙","黄"]}, {"冷色":["青","蓝"]}, {"中性色":["紫","绿","黑","灰","白"]} ]}以下能够取到冷色“["青","蓝"]”的是哪一个选项?
    A: color['色彩'][1][1]
    B: color['色彩']['冷色']
    C: color['色彩'][1]['冷色']
    D: color['色彩']['冷色'][1]
  • 举一反三