What about: print("eleven" != 'eleven')? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

What about: print("eleven" != 'eleven')?

What about: print("eleven" != 'eleven') ?

9th Aug 2020, 6:32 PM
KansJK JK
KansJK JK - avatar
2 Answers
+ 6
You can try it yourself and here's the explanation: "!=" This operator means "Not equal to" .(It's explained in the lesson itself) It returns true once the values are not equal to each other and returns false when they're equal. So, they're equal so, it returns false. But I think you shouldn't ask for output. You can get it yourself but if you don't know "How" then you're free to ask.
9th Aug 2020, 7:04 PM
Arctic Fox
Arctic Fox - avatar
+ 5
what shouöd be with this? you can run the code and then you know the result!! Please use useful tags (like the programming language)
9th Aug 2020, 6:41 PM
Alexander Thiem
Alexander Thiem - avatar