代码拉取完成,页面将自动刷新
# def functionname():
# "函数_文档字符串"
# function_suite
# return [expression]
# def printme(str):
# print(str)
# return
# printme('wo xi huan ke er')
# printme('wo shi zhen de xi huan ke er')
# def ChangeInt(a):
# print(a ,'------------')
# a = 10
# print(a , '++++++++')
# b = 5
# ChangeInt(b)
# print(b)
# def changeme(mylist):
# mylist.append([1,2,3,4])
# print('函数内取值:',mylist)
# return
# mylist = [10,20,30,40]
# print(mylist,'------------')
# changeme(mylist)
# print(mylist,'++++++++++')
# def printme(str):
# print(str)
# return
# printme()
# def printme(str):
# print(str)
# return
# printme(str = "My string")
# def printinfo(name, age):
# print("Name:",name)
# print("Age",age)
# return
# printinfo(age=18,name="keer")
# def printinfo(name, age = 18):
# print("Name:",name)
# print("Age",age)
# return
# printinfo(name="keer")
# def printinfo(age = 18,name):
# print("Name:",name)
# print("Age",age)
# return
# printinfo(name="keer")
def printinfo(arg1,*vartuple):
print("输出:")
print(arg1)
for var in vartuple:
print(var,"--------")
return
printinfo(70,60,50)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。