标签:
def abc(test):
print "hello %s"%test
abc("brid")
def say (a,*args):
print a, args
say("hello","zha","ab")
def say (a,**args):
print a, args
say ("hello",name=20,age=21)
def say (word=‘hello‘):
print word
say("hi")
def say (a,b=‘c‘):
print a ,b
return ‘bye‘
say("hello")
def count():
for i in range(1,10):
if i == 5 :
return
else:
print i
count()
标签:
原文地址:http://www.cnblogs.com/yjz1/p/5367918.html