+ 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?

24th Aug 2017, 3:53 PM
syscall
syscall  - avatar
1 Resposta
0
use the keyword 'is'
24th Aug 2017, 9:46 PM
StoneSmasher
StoneSmasher - avatar