Skip to content

Instantly share code, notes, and snippets.

@mfyuce
Created December 11, 2018 11:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfyuce/867d8013a4abe453576e1b8b4d783cbb to your computer and use it in GitHub Desktop.
Save mfyuce/867d8013a4abe453576e1b8b4d783cbb to your computer and use it in GitHub Desktop.
Check whether java's `&&` and pythons `and` is the same thing;
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