• 2022-06-09
    有字典如:fruit={“name”:”apple”,”color”:”red”,”weight”:200},操作fruit.keys()的结果是:( )
    A: dict_keys(['name', 'color', 'weight'])
    B: 其余都不对
    C: dict_items([('name', 'apple'), ('color', 'red'), ('weight', 200)])
    D: dict_values(['apple', 'red', 200])