def fun(a,b=10): print(a,b) #函数的调用 fun(100) fun(20,30) print('hello',end='\t') #end实际默认值为\n print('world')
E:\PycharmProjects\pythonProject\venv\Scripts\python.exe E:/PycharmProjects/pythonProject/demon1/demo27.py 100 10 20 30 hello world 进程已结束,退出代码0