给出如下代码import random as ranlistV = []ran.seed(100)for i in range(10):()i = ran.randint(100,999)listV.

5 查阅

给出如下代码import random as ranlistV = []ran.seed(100)for i in range(10):()i = ran.randint(100,999)listV.append(i)以下选项中能输出随机列表元素最大值的是()

A.print(listV.max()

B.print(listV.pop(i))

C.print(max(listV))

D.print(listV.reverse(i))

参考答案:

答案:print(max(listV))