Pregunta de python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Pregunta de python

Que significaba " == "

30th Jul 2018, 10:28 PM
EnderBurguesa
EnderBurguesa - avatar
2 Answers
+ 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
30th Jul 2018, 11:35 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 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.
31st Jul 2018, 12:37 AM
Mickel
Mickel - avatar