为什么1/2的余数是1 输出的第一个不是Alice而是66
num = 0 L = ['Alice', 66, 'Bob', True, 'False', 100] for item in L: num = num + 1 if num % 2 != 0: continue print(item)
num = 0 L = ['Alice', 66, 'Bob', True, 'False', 100] for item in L: num = num + 1 if num % 2 != 0: continue print(item)
2021-08-27
举报