a = 3.1415926 #错误写法:print("the vaule of pi is "+a) print("the vaule of pi is %f"%(a))