Let's Meet Friendly Language Uncle for Life
We'll cover the following...
Have you ever used the diamond operator (<>
) in Python? Let’s see what it does.
⚠️ The following code is meant for Python 3.x versions.
Press + to interact
>>> from __future__ import barry_as_FLUFL>>> "Ruby" != "Python" # there's no doubt about itFile "some_file.py", line 1"Ruby" != "Python"^SyntaxError: invalid syntax>>> "Ruby" <> "Python"True
There we go. ...