Created
December 11, 2016 15:57
-
-
Save belsander/e6e75b86f05c0b5161c7a8db21c0dc03 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
type(object) | |
# Example | |
>>> test_dict = dict() | |
>>> test_int = 0 | |
>>> test_str = "" | |
>>> test_tuple = tuple() | |
>>> test_list = list() | |
>>> type(test_dict) | |
<type 'dict'> | |
>>> type(test_int) | |
<type 'int'> | |
>>> type(test_str) | |
<type 'str'> | |
>>> type(test_tuple) | |
<type 'tuple'> | |
>>> type(test_list) | |
<type 'list'> | |
>>> dict # just showing what is a type object is | |
<type 'dict'> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment