热线电话:13121318867

登录
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.0000
3
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子