SyntaxFix
Write A Post
Hire A Developer
Questions
using numpy and list comprehension you can do the
import numpy as np [num for num in np.arange(1,101) if (num%4 == 1 or num%4 == 2)]