Boolean and comparision | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 3

Boolean and comparision

while comparing strings lecicographically only first letter is compared ?

24th Feb 2018, 4:00 PM
Vineet Chheda
1 ответ
+ 10
because if the first character are not the same in both string, it compare on that character, if is same then go to the next character...
24th Feb 2018, 4:09 PM
Vukan
Vukan - avatar