2018-02-19
2018-02-19 本文已影响4人
侯七鸭
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