以下程序的输出结果是:
ls=list({'shandong':200,'hebei':300,'beijing':400})
print(ls)
A、['300','200','400']
B、['shandong','hebei','beijing']
C、[300,200,400]
D、'shandong','hebei','beijing'
Python语言有哪些运算符?请列表说明它们各自的运算优先级。
A、del
B、pass
C、not
D、string
A、false
B、False
C、true
D、True
以下不是程序输出结果的选项是:
importrandomasr
ls1=[12,34,56,78]
r.shuffle(ls1)
print(ls1)
A、[12,78,56,34]
B、[56,12,78,34]
C、[12,34,56,78]
D、[12,78,34,56]