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.
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").
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.
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).
thanks for your information and finally my doubts fully cleared
Your way of reaching is amazing. I learnt a lot from you. Love from Pakistan
thank you. I have a computing test and I was struggling to grab the idea of what comparison operators are.
Me too now tho
Thank you sir very nice gide & very nice information comparison operator teaching video.👍
Sir,please add playlist of searching and its type in detail in c language. 🙏🙏🙏
False, because ascii value of p
Yes
Very relevant 😊
The answer is false x is not greater than or equal to y
Answer is 'False' 👍👍
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.
Good explanation but you can improve it with more examples
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").
Neither x is greater or equal to y.
so the answer to the problem is False.
Output:False
h.w ans false
HW: False
the answer gave me a False
False h answer
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
False