Suppose I have the list
R=['$x_{0}$','$x_{1}$','$x_{2}$','$a_{3}$','$\\varepsilon_{4}$','$a_{5}$','$\\varepsilon_{6}$']
how can I make a condition looking like
if R[i]== a (the index is not relevant only the family name of the variable)
| 1 | initial version |
Suppose I have the list
R=['$x_{0}$','$x_{1}$','$x_{2}$','$a_{3}$','$\\varepsilon_{4}$','$a_{5}$','$\\varepsilon_{6}$']
how can I make a condition looking like
if R[i]== a (the index is not relevant only the family name of the variable)
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.