Created
December 11, 2018 11:50
-
-
Save mfyuce/867d8013a4abe453576e1b8b4d783cbb to your computer and use it in GitHub Desktop.
Check whether java's `&&` and pythons `and` is the same thing;
This file contains 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 true(): | |
print("True") | |
return True | |
def false(): | |
print("False") | |
return False | |
true() and false() | |
false() and true() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment