Comparison Operators in Python
HTML-код
- Опубликовано: 5 сен 2024
- 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.
Python Programming Playlist: • Python Programming
Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
Contribute: www.nesoacadem...
Memberships: bit.ly/2U7YSPI
Books: www.nesoacadem...
Website ► www.nesoacadem...
Forum ► forum.nesoacad...
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#PythonByNeso #PythonProgramming #OperatorsInPython
Your way of reaching is amazing. I learnt a lot from you. Love from Pakistan
thanks for your information and finally my doubts fully cleared
thank you. I have a computing test and I was struggling to grab the idea of what comparison operators are.
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).
Thank you sir very nice gide & very nice information comparison operator teaching video.👍
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.
Sir,please add playlist of searching and its type in detail in c language. 🙏🙏🙏
Very relevant 😊
False, because ascii value of p
Yes
The answer is false x is not greater than or equal to y
Good explanation but you can improve it with more examples
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.
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").
Output:False
Neither x is greater or equal to y.
so the answer to the problem is False.
h.w ans false
HW: False
the answer is false in the homework problem.
the answer gave me a False
False
1:33 Hi. How do you read this logic, 50000
false
FALSE
false :)
False
false
false
false
False
False
False
False
false
false
False