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'
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.