from datetime import datetime
now = datetime.now()
print '%s:%s:%s' % (now.hour, now.minute, now.second)
呃中间是要有冒号的注意啦
% 取模
复习一下且或非
and 一假则假
or 一真则真
'not' > 'and' > 'or'
not not True or False and not True
= not not True or (False and not True)
是true
网友评论