代码如下:
a=1 b=2 c=3 print c*(a/b)
a=1 b=2 c=3 print c*(a/float(b)) print c*(float(a)/b)
a=1 b=2 c=3 print c/a # 3 print c/b # 1 print c/float(b )# 1.5