将字典a的键和值分别转换成列表b和c的代码分别为()[测3] (2分) A. b=list(a.key())和c=list(a.value()) B. b=list(a.keys())和c=list(a) C. b=list(a.key)和c=list(a.value) D. b=list(a.keys())和c=list(a.values()) E. b=list(a.keys)和c=list(a.values) F. b=list(a)和c=list(a.values) G. b=list(a)和c=list(a.values())
时间: 2023-12-20 16:07:41 浏览: 68
python数据结构之列表和元组的详解
"北京", "天津", "2021-08-01 08:00:00", 100))
cur.execute("INSERT INTO trains (train_no, start_station, end_station, start_time, price) VALUES (?, ?, ?, ?, ?)", ("D2", "天答案是D. b=list(a.keys())和c=list(a.values())
阅读全文