This question is worth 3 marks. Don't guess, you will be penalised 3/4 of a mark for an incorrect answer. You won't be penalised for leaving your answer blank.Consider the following Python code:def func_two(dict_one): x = None y = None for key, value in dict_one.items(): if x: if value > x: x = value y = key else: x = value y = key return y def func_one(input_str): dict_one = {} for i in input_str: if i in dict_one: dict_one[i] += 1 else: dict_one[i] = 1 res = func_two(dict_one) return res if __name__ == "__main__": print (func_one("python programming")) print (func_one("Hello World")) What does the code output?多项选择题

A

p l

B

m l

C

2 3

D

6 11 5 5

E

None of the above

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!