String comparison in python

string
python

#1

Hi,

I am to compare two strings
say
v1= “string1 &gt”
v2=“string1 >”

when I say if v1==v2
condition
else
condition
it is going to else:

Actually both are same only the symbol is replaced with &gt
how to compare this?

Advanced thanks,
Sachin