What are the Comparison Operators In Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What are the Comparison Operators In Python?

==,!=,>=,<=,<,> Any More ?

30th Dec 2016, 11:13 AM
Dilan Perera
Dilan Perera - avatar
2 Answers
+ 5
Thank You #Pierree Geier
30th Dec 2016, 11:44 AM
Dilan Perera
Dilan Perera - avatar
+ 2
No. There isn't something like === (You might know that from php) But you have <> as well, which is a alias for !=. But Python has different types of operators like "is": if spam is False: .....
30th Dec 2016, 12:01 PM
Pierre Geier
Pierre Geier - avatar