Using non-ascii symbols

Dave Hansen iddw at
Tue Jan 24 17:32:25 CET 2006

On Tue, 24 Jan 2006 16:33:16 +0200 in comp.lang.python, Juho Schultz
<juho.schultz at> wrote:

>Fortran 90 allowed >, >= instead of .GT., .GE. of Fortran 77. But F90 
>uses ! as comment symbol and therefore need /= instead of != for 
>inequality. I guess just because they wanted. However, it is one more 
>needless detail to remember. Same with the suggested operators.

C uses ! as a unary logical "not" operator, so != for "not equal" just
seems to follow, um, logically.

Pascal used <>, which intuitively (to me, anyway ;-) read "less than
or greater than," i.e., "not equal."  Perl programmers might see a

Modula-2 used # for "not equal."  I guess that wouldn't work well in


Change is inevitable, progress is not.

More information about the Python-list mailing list