有字典weather如下,下列选项中可以打印“阴”的是( )weather = {"周一": [26, "晴"], "周二": [24, "阴"], "周三": [22, "雨"]}
A: print(weather["周一"][0])
B: print(weather["周一"][1])
C: print(weather["周二"][1])
D: print(weather["周二"][2])
A: print(weather["周一"][0])
B: print(weather["周一"][1])
C: print(weather["周二"][1])
D: print(weather["周二"][2])
举一反三
- 给出如下代码:ds={'周一':'Mon.','周二':'Tues.','周三':'Wed.','周四':'Thur.','周五':'Fri.'},以下选项中能输出“Wed.”的是( )。知识点:字典 A: print(ds.keys()) B: print(ds.values()) C: print(ds['周三']) D: print(ds.get('周三'))
- 186. 一Bad weather! ? 一It’s ﹣15℃~-5℃. A: What’s the weather like B: How is the weather C: What’s the temperature D: How do you like the weather
- “重量;价值”,正确的翻译为()。[2006年第一次考试真题] A: weight:valid B: weather;value C: weight:value D: weather;valid
- 2.8(中)下列数据类型打印正确的是? print( [ ] ) print( ) print( { } ) print( set() )
- T or F 703 The aircraft flew to the alternate airport due to adverse weather at the destination airport. [音频]