ITeye博客

判变量是否为空时的写法

conjohn668 · 2010-09-12 00:20 · 编程语言 · Markdown

def foo(b):
      return b and 1 or 0

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。