本身for就有循环的意思,为什么还要加个continue呢
s1 = set([1, 2, 3, 4, 5])
s2 = set([1, 2, 3, 4, 5, 6, 7, 8, 9])
for item in s1:
if item in s1:
print(item)
s1 = set([1, 2, 3, 4, 5])
s2 = set([1, 2, 3, 4, 5, 6, 7, 8, 9])
for item in s1:
if item in s1:
print(item)
2021-07-02
举报