Post

@PythonPr Output is A .... In Python, True == 1 is true, so the first condition runs and prints "A". After that, Python skips the elif and else. Small but important detail: == checks value, while is checks identity.
English

@PythonPr The elif condition runs when the if condition is false.
so,the output is
A
English

@PythonPr Moore in FORTH uses " not 0 " as True with -1 canonical True .
Iverson APL uses 1 ( single bit ) True so arithmetic works .
CoSy converts early at the FORTH level .
: 0=I not negate ;
: M->I not 0=I ;
: I->M not not ;
English


























