“Can I pay my bill by ( )card?”
A.telephone
B.post
C.credit
D.passing
第1题:
第2题:
15、以下程序执行的结果是: my_dict={'bill':1,'rich':2,'fred':10,'walter':20} temp = 0 for value in my_dict.values(): temp = temp + value print (temp)
第3题:
下列程序的执行结果是: def f2 (my_dict): temp = '' for key in my_dict: if temp < key: temp = key return temp a_dict = {'bill':1,'rich':2,'fred':10,'walter':20} print f2(a_dict)
第4题:
下列程序的输出结果是: def f1 (my_dict): temp = 0 for value in my_dict.values(): temp = temp + value return temp a_dict={'bill':1,'rich':2,'fred':10,'walter':20} print f1(a_dict)
第5题:
下面代码的运行结果是 def f2 (my_dict): temp = '' for key in my_dict: if temp < key: temp = key return temp a_dict = {'bill':1,'rich':2,'fred':10,'walter':20} print (f2(a_dict))
A.fred
B.walter
C.程序运行错误
D.bill