编辑器
r = range(0, 10, 2) print(list(r)) print(6 in r) print(7 in r)
[0,2,4,6,8]
True
False