Created
July 18, 2020 10:54
-
-
Save raeq/d6ee99a687641697f7454a1a3700948a to your computer and use it in GitHub Desktop.
Arte strings equal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def are_equal(first_comparator: str = "", second_comparator: str = "") -> bool: | |
return first_comparator == second_comparator | |
assert are_equal("thing one", "thing two") is False | |
assert are_equal("a thing", "a " + "thing") is True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment