如何在Python中生成数字序列"1,2,5,6,9,10 ......",直到100?我甚至需要包含逗号(','),但这不是主要问题.
序列:1到100之间的每个数字,可被4整除,其余为1或2.
python sequence
python ×1
sequence ×1