#!/user/bin/python
# -*- coding:utf-8 -*-
# x or y ,x 为 非 0时,则返回x
print(1 or 2)
print(3 or 2)
print(0 or 100)
2017-12-15python全栈9期第二天第七节之x or y ,x 为 非 0时,则返回x
猜你喜欢
转载自www.cnblogs.com/zhang-da/p/10177097.html
今日推荐
周排行