返回列表 發帖

變數宣告與基本輸出 (一)

本帖最後由 tonyh 於 2018-7-7 10:49 編輯
  1. a=123
  2. b=456
  3. print(a,"python",b)
  4. print(a,"python",b,sep="~")
  5. print(a,"python",b,sep="~",end="!!!\n")
  6. print(str(a)+"~python~"+str(b)+"!!!")
複製代碼
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

  1. a=123
  2. b=456
  3. print(a,"python",b)
  4. print(a,"pyton",b,sep="HEYY")
  5. print(a,"python",b,sep="lmao",end="???/n")
  6. print(str(a)+"~python~"+str(b)+"???")
複製代碼

TOP

  1. a=123
  2. b=425
  3. print(a,"python",b)
  4. print(a,"python",str(b),sep="~",end="!!!\n")
複製代碼

TOP

  1. a=123
  2. b=456
  3. print(a,"python",b)
  4. print(a,"python",(b),sep="~")
  5. print(a,"python",b,sep="~",end="!!!\n")
  6. print(str(a),"~python~",str(b)+"!!!")
複製代碼

TOP

返回列表