Created
October 13, 2015 17:50
-
-
Save yuta1723/9087fb8afe1210a4faa4 to your computer and use it in GitHub Desktop.
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
foo = "a" | |
print type(foo) #<type 'str'> | |
if isinstance(foo,str): | |
print 'a' # ->a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment