• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
+ 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?

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

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
Concerning image
1 Votes
How can I learn codes
1 Votes
Code coach "camel and snake"
0 Votes
What is the answer of the web development where it is asked how many times will the messages will be displayed.In the last part.
1 Votes
stop scrolling if navbar is open
2 Votes
Object Oriented Programming
0 Votes
“Beginner in Coding: Which Language Should I Learn First for Unreal Engine Game Development?”
0 Votes
What is the best coding language to create a successful game on steam
0 Votes
Which is better Rust or C++?
3 Votes
HTML
1 Votes