Board logo

標題: 變數宣告與基本輸出 (一) [打印本頁]

作者: tonyh    時間: 2020-7-27 09:04     標題: 變數宣告與基本輸出 (一)

  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)+"!!!")
複製代碼

作者: 李睿騏    時間: 2020-7-27 10:36

本帖最後由 tonyh 於 2020-7-27 10:54 編輯
  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)+"!!!")
複製代碼

作者: tonyh    時間: 2020-7-27 10:54

  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)+"!!!")
複製代碼

作者: 楊書華    時間: 2020-7-27 11:00

本帖最後由 楊書華 於 2020-7-27 11:03 編輯
  1. a=123
  2. b=456
  3. print(a,"python",b)
  4. print(a,"python",b,sep="~")
  5. print(a,"python",b,sep="~",end="!!!")
  6. print(str(a)+"~python~"+str(b)+"!!!")
複製代碼
  1. a=123
  2. b=456
  3. print(a,"python",b)
  4. print(a,"python",b,sep="~~~")
  5. print(a,"python",b,sep="~~~",end="!!!!!")
  6. print(str(a)+"~~~python~~~"+str(b)+"!!!!!")
複製代碼

作者: 王法棣    時間: 2020-7-27 11:01

  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)+'!!!')
複製代碼

作者: 戴睿呈    時間: 2020-7-27 11:01

本帖最後由 戴睿呈 於 2020-7-27 11:03 編輯
  1. a=123
  2. b=456
  3. print(a,"python",b)
  4. print(a,"python",b="~")
  5. print(a,"python",b="~",end="!!!\n")
  6. print(str(a)+"~python~"+(b)+"!!!")
複製代碼

作者: 陳紀希    時間: 2020-7-27 11:01

  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)+"!!!")
複製代碼

作者: 蔡鈞峰    時間: 2020-7-27 11:03

  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)+"!!!\n")
複製代碼

作者: 陳星翰    時間: 2020-7-27 11:03

  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)+"!!!")
複製代碼

作者: 黃家穎    時間: 2020-7-27 11:05

  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)+"!!!")
複製代碼

作者: 黃明晧    時間: 2020-7-27 11:05

(code)
a=123
b=456
print(a,"python",b)
print(a,"python",b,sep="~")
print(a,"python",b,sep="~",end="!!!\n")
print(str(a)+"~python~"+str(b)+"!!!")
(/code)
作者: 林婕瀅    時間: 2020-7-27 11:05

  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)+"!!!")
複製代碼

作者: 楊子瑩    時間: 2020-7-27 11:05

  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)+"!!!")
複製代碼

作者: 黃明曄    時間: 2020-7-27 11:06

  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)+"!!!")
複製代碼

作者: 林家代    時間: 2020-7-27 11:09

本帖最後由 林家代 於 2020-7-27 14:58 編輯
  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)+"!!!")
複製代碼

作者: 黃瀚永    時間: 2020-7-27 11:11

  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)+"!!!")
  7.       
  8.      
複製代碼

作者: 蔡旭隆    時間: 2020-7-27 11:14

  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)+"!!!")
複製代碼

作者: 林睿謙    時間: 2020-7-27 11:15

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





歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://seed.istak.org.tw/) Powered by Discuz! 7.2