I wonder if this is a bug
sign=['>=', '<=', '=']
m1=[1 if (v=="<=" or v==">=") else 2 for v in sign]
m1
The len(m1)
is defined but
y=var('y_',n=range(len(m1)))
return the error '>' not supported between instances of 'range' and 'int'
1 | initial version |
I wonder if this is a bug
sign=['>=', '<=', '=']
m1=[1 if (v=="<=" or v==">=") else 2 for v in sign]
m1
The len(m1)
is defined but
y=var('y_',n=range(len(m1)))
return the error '>' not supported between instances of 'range' and 'int'