Comparison Operators in Python

preview_player
Показать описание
Python Programming: Comparison Operators in Python
Topics discussed:
1. Introduction to Comparison Operators in Python.
2. Greater Than Operator.
3. Less Than Operator.
4. Equal To Operator.
5. Less Than or Equal To Operator.
6. Greater Than or Equal To Operator.
7. Not Equal To Operator.

Music:
Axol x Alex Skrindo - You [NCS Release]

#PythonByNeso #PythonProgramming #OperatorsInPython
Рекомендации по теме
Комментарии
Автор

the result is true In Python, string comparison is performed lexicographically based on the ASCII values of the characters. In this case, the string 'apple' is lexicographically greater than the string ' apricot'. Therefore, x is considered greater than or equal to y, resulting in True being printed.

awesomeright
Автор

The answer is "FALSE", due to the ASCII value of the third character of both strings being different i.e. p(112) is not LTE r(114).

AnonymousUser
Автор

thanks for your information and finally my doubts fully cleared

Arun-rx
Автор

Your way of reaching is amazing. I learnt a lot from you. Love from Pakistan

RuralLifeAndNature
Автор

thank you. I have a computing test and I was struggling to grab the idea of what comparison operators are.

zeniio
Автор

Thank you sir very nice gide & very nice information comparison operator teaching video.👍

ashishtayade
Автор

Sir, please add playlist of searching and its type in detail in c language. 🙏🙏🙏

muditgurha
Автор

The answer is false x is not greater than or equal to y

Chikoi_Mulenga
Автор

The answer will be False because x is not equal to or greater than y if you look at how many words both of them have.

StrNoelleYT
Автор

Good explanation but you can improve it with more examples

rolexsir
Автор

False. In this case, "apple" is considered less than "apricot" because, at the first differing character, 'p' (in "apple") has a lower Unicode value compared to 'r' (in "apricot").

jingersatuh
Автор

Neither x is greater or equal to y.
so the answer to the problem is False.

simplyadorables
Автор

1:33 Hi. How do you read this logic, 50000 <= income ?

Cloudxxx