+ 1
How can I compare strings in python ?
for eg. strcmpi () func is used to compare strings in cpp , what func is here in py for comparing strings?
1 Answer
0
use the keyword 'is'
for eg. strcmpi () func is used to compare strings in cpp , what func is here in py for comparing strings?