Created
May 7, 2018 08:12
-
-
Save harrifeng/28515f61d8688256db13221879cf8dd7 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
def display(one): | |
print(type(one)) | |
display(1) | |
display(i for i in range(32)) | |
# <===================OUTPUT===================> | |
# <class 'int'> | |
# <class 'generator'> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment