Error in or

Ian Kelly ian.g.kelly at gmail.com
Thu Jun 11 11:49:58 EDT 2015


On Thu, Jun 11, 2015 at 9:40 AM,  <subhabrata.banerji at gmail.com> wrote:
>   if write this it is working fine, but if I write
>
>   if ("AND" in inp1) or ("OR" in inp1) or ("NOT" in inp1) or (">" in inp1) or ("&" in inp1) or ("MAYBE" in inp1) or ("(" in inp1) or ("*" in inp1) or (''' " ''' in   inp1):
>
>  the portion of (''' " ''' in   inp1) is not working.

Not working how? I copy-pasted the line and it appears to work fine.



More information about the Python-list mailing list