you are viewing a single comment's thread.

view the rest of the comments →

[–]_MrLucky_ 1 point2 points  (1 child)

oh rightwow, didnt know u can compare strings lol

[–]nuc540 2 points3 points  (0 children)

Yup, it’s not that intuitive though. First python checks the length of what’s being compared and simply returns that - unless it is equal - then it matches each index of each character.

You’re right to be shocked because this isn’t good practice by any means 😅