返回列表 發帖
  1. # -*- coding: utf-8 -*-
  2. """
  3. Spyder Editor

  4. This is a temporary script file.
  5. """
  6. a=b="20"
  7. print("a="+a)
  8. print("b="+b)
  9. c=a+b
  10. d=int(a)+int(b)
  11. print("字串相加:"+c)
  12. print("字串相加:"+str(d))
複製代碼

TOP

返回列表