2018-11-28
阅读量:
792
使用拉姆达来模仿输出方法
import sys
lprint=lambda *args:sys.stdout.write(" ".join(map(str,args)))
lprint("python", "tips",1000,1001)
#-> python tips 1000 1001






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论