为什么我这个代码不对呀
# Enter a code
L = ['Alice', 66, 'Bob', True, 'False', 100]
i = 1
for u in L:
if i!= 1 and i%2 != 0:
print(u)
i = i + 1
# Enter a code
L = ['Alice', 66, 'Bob', True, 'False', 100]
i = 1
for u in L:
if i!= 1 and i%2 != 0:
print(u)
i = i + 1
2023-10-16
举报