Created
June 23, 2016 03:32
-
-
Save lbattaglioli2000/11404417bb2efa042ee52228c431526c to your computer and use it in GitHub Desktop.
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
ice_cream = "ice cream" | |
# method 1: | |
print("There is ice in ice cream: " + str("ice" in ice_cream)) | |
# or... | |
# method 2: | |
ice_in_ice_cream = "ice" in ice_cream | |
print("There is ice in ice cream: " + str(ice_in_ice_cream)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment