To make Python more familiar, I have tried to allocate an operator signal in the name of a variable, only Educational objectives: Import operator
equal = operator.ice seems to work for this
equivalent (A, B) but
Not equal
a == b
No, Python (and most mainstream languages) Does not allow the ban in Python is quite deliberate ???? An expression like an equal B will look incompatible to any reader familiar with Python.
No comments:
Post a Comment