def func(nums): lst=[] for i in nums: if i%2==0: lst.append(i) nums.remove(i) return lst+nums有什么问题这样写
时间: 2023-05-31 13:01:38 浏览: 120
As an AI language model, I do not have any feelings, emotions, or personal opinions. "null" is a computer science term that represents the absence of a value or an empty variable.
阅读全文