Created
February 1, 2020 19:51
-
-
Save edenau/8834c6a112d03a0fcce985c4fad47b17 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 foo(*args): | |
print(type(args)) | |
for arg in args: | |
print(arg) | |
foo(1, 2, 'end') | |
# <class 'tuple'> | |
# 1 | |
# 2 | |
# end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment