• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
0

Why does this return False? Python

Why is this False? value = True == (not True) != 600

pythonoperatorsboolean-logicoperator-precedencepython3operationbooleanfalsetrue
27th May 2020, 7:36 PM
Pame
Pame - avatar
1 Respuesta
+ 3
x == y == z translates to (x==y) and (y==z).
27th May 2020, 7:42 PM
HonFu
HonFu - 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
Hi help me I am new
2 Votes
My codebits section is full of deleted codes
12 Votes
Why are there like 10 community-made lessons?
0 Votes
How do I solve all test cases for popsicles problem?https://www.sololearn.com/coach/3?ref=app
0 Votes
Why so many mathematical questions in challenges?
0 Votes
Where can I learn c#
0 Votes
Where did mess up....
1 Votes
I have an error in a problem and I don't know what the correct answer is
0 Votes
best language if i want to learn about AI
0 Votes
Question
0 Votes