explanation of 'Test' <= 'test' | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

explanation of 'Test' <= 'test'

Hi, Can anyone explain to me why: >>> 'Test'=='test' False (this is clear for me....) >>> 'Test'>='test' False (???????????) >>> 'Test'<='test' True (????????????) How python understands the comparison symbols <=, >= on text? Thnx in advance 4 your support/help/advice!!!!

20th Feb 2018, 10:37 AM
Spiros Michelakis
Spiros Michelakis - avatar
1 Answer
0
Really? Hahhah ok.. I never thought it like that... cheers mate thnx for your support!!!!
25th Jan 2021, 12:31 AM
Spiros Michelakis
Spiros Michelakis - avatar