Syntax error How to change the look of Python operators?

How to change the look of Python operators?



Python and most mainstream languages do not allow changing how operators look.

If you're trying to replace something like a == b with a equals b, you can't do that. In Python the restriction is quite intentional — an expression such as a equals b would look ungrammatical to any reader familiar with Python.

Updated on: 2019-07-30T22:30:22+05:30

173 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements