Created
January 18, 2014 21:00
-
-
Save oscargicast/8496386 to your computer and use it in GitHub Desktop.
first demo
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
def print_two(*args): | |
arg1, arg2 = args | |
print "arg1:%r, arg2: %r" %(arg1, arg2) | |
def print_two_again(arg1, arg2): | |
print "arg1: %r, arg2: %r" %(arg1, arg2) | |
def print_one(arg1): | |
print "arg1: %r" %arg1 | |
def print_none(): | |
print "nada" | |
print_two("Cesar", "Lara") | |
print_two_again("Cesar", "Lara") | |
print_one("Cesar") | |
print_none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment