Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python <>

a = 1
b = 2

if a != b:
 print("Dunno")

if a <> b:
 print("Dunno")


above mentioned code are same As described in the documentation, 
they are the same. <> is deprecated and was removed in Python 3, 
so you should use !=

https://docs.python.org/2/reference/expressions.html#not-in
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
6+9 =