题目详情
单选题 def f(st): i=0 while i<len(st): if st[i]%2==0: del st[i] else: i+=1st=[1,2,3,4,5,6]f(st)print(st)结果是
A. [1, 2, 3, 4, 5]
B. [2,4,6]
C. ['1', '3, '5']
D. [1, 3, 5]
学科:Python
时间:2023-12-25 11:46:59
相关题目
相关作业