• 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
Can i code here? Or just learn?
0 Votes
Hi, please I'm interested in learning Html, css and Javascript. I need a guidance or any app recommendation that will make me
1 Votes
Why Lazy?
1 Votes
Please help a beginner choose a programming language
2 Votes
hi i want to learn C# but i don't have a good tut
1 Votes
Quiz App: Step 3, Restart Button
0 Votes
It's app not running properly?
1 Votes
Catch the ball
0 Votes
how to make sans fight on web language
1 Votes
Web development
0 Votes