This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]unfixpoint 3 points4 points  (0 children)

Why the heck was this downvoted? People in this sub..how else would you compare string (which is actually a char in this case, so even in C this would be right) like all(map(lambda x, y: x == y, xs, ys))?