Run ❯
Result Size:
813
x
856
↺
📋
📚
DevNotes
x= 10 y= 5 activo= False res1 = (x > 8) and (y < 3) res2 = (x == 10) or (y == 99) res3 = not activo and (x >= y) res4 = not (x > 5 and y == 5) res5 = activo or (x != 10) or (y == 5) print(f"(x > 8) and (y < 3) --> {res1}") print(f"(x == 10) or (y == 99)) --> {res2}") print(f"not activo and (x >= y) --> {res3}") print(f"not (x > 5 and y == 5) --> {res4}") print(f"activo or (x != 10) or (y == 5)) --> {res5}")
💻 Salida de Terminal ·
Python 3
Listo para ejecutar
Pulsa el botón "Run ❯" o pulsa Ctrl + Enter para ejecutar el código.