#!/usr/bin/env python
sum = 2 + 3
print "Sum is %d done. " % sum
cj = 2 * 3
print "ChengJi is %d ." % cj
mi = 2 ** 32
print "Mi is %d ." % mi
qz = 10 // 3
print "QuZheng is %d ." % qz
mo = 100 % 7
print "Mo is %d ." % mo
zy = 2 << 2
print "zuoyi is %d ." % zy
a=1;b=2;out = a <= b;
print out
Python脚本之运算符
时间: 2024-11-11 10:41:32