返回列表 發帖
  1. x=3.141593
  2. print("圓周率為%.2f"%x)
  3. print("圓周率為%.4f"%x)
  4. print("圓周率為%05.2f"%x)
  5. print("圓周率為%f"%x)
  6. print("圓周率為%s"%x)
複製代碼

TOP

返回列表