Quantcast
Viewing all articles
Browse latest Browse all 4448

String comparison in python

@sachin123456 wrote:

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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles