求1-100之内能被7整除,但是不能被3整除的所有数,正确的列表推导式是?
print([for x in range(0, 100) if x % 7 == 0 and x % 3 != 0])
print([for x in range(1, 101) if x % 7 == 0 and x % 3 != 0])
print([x for x in range(0, 100) if x % 3 == 0 and x % 7 != 0])
print([x for x in range(1, 101) if x % 7 == 0 and x % 3 != 0])