Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Pregunta de python
Que significaba " == "
2 Respostas
+ 4
== tests if one variable and and another variable are the same
x = 1
y = 1
if x == y:
print("true")
else:
print("false")
the output is true
+ 2
Es un operador de comparaciĆ³n. Y se utiliza para verificar si dos valores son iguales, tal como se presentĆ³ en el comentario anterior a este.