<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">from numpy import pi
def f(x):
    return 2*x + 1
z = []
for x in range(10):
   if f(x) &gt; pi:
       z.append(x)

   else:
       z.append(-1)
print(z)

</pre></body></html>