#WEEKLY #5: Equality Check
PYer (3255)

This one uses the in keyword, which is not counted as an "operator" (unless this is incorrect please tell me @TheDrone7). Thanks!

EDIT: Loops to run multiple tests.
EDIT: Switched to a lambda function instead

You are viewing a single comment. View All
DynamicSquid (2247)

Now that's crafty :) Should be fine since it's not a comparison operator. You could also do something similar with regex as well.

PYer (3255)

Yeah, i also did zip_longest with itertools and a combination of your strategy. i ended up just sticking with this though. @DynamicSquid

DynamicSquid (2247)

@PYer yeah, python has a lot of neat tricks that many other languages don't

PYer (3255)

oh wait, my thing doesn't work. i need to fix it. @DynamicSquid

DynamicSquid (2247)

@PYer it doesn't? worked fine for me