標題:
變數宣告與基本輸出 (一)
[打印本頁]
作者:
tonyh
時間:
2021-1-28 10:11
標題:
變數宣告與基本輸出 (一)
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)+"!!!")
複製代碼
作者:
王旋兆
時間:
2021-1-28 10:54
本帖最後由 王旋兆 於 2021-1-28 10:59 編輯
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)+"!!!")
複製代碼
作者:
謝苙豪
時間:
2021-1-28 10:59
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)+"!!!")
作者:
賴聿均
時間:
2021-1-28 11:01
a=123
b=345
print(a,"python",b,sep="~",end="!!!\n")
print(str(a)+"~python~"+str(b)+"!!!")
複製代碼
作者:
方黃生
時間:
2021-1-28 11:01
a=123
b=456
print(a,"python",b)
print(a,"python",b,sep=":")
print(a,"python",b,sep=":",end="???|n")
複製代碼
作者:
林楷喆
時間:
2021-1-28 11:03
a=123
b=456
print(a,"python",b)
print(a,"python",b,sep="~")
print(a,"python",b,sep="~",end="!!!")
複製代碼
作者:
陳宥銘
時間:
2021-1-28 11:08
a=123
b=456
print(a,"python",b)
print(a,"python",b,sed="~")
print(a,"python",b,sed="~",end="!!!/n")
print(str(a)+"~python~"+str(b)+"!!!")
複製代碼
作者:
何若晴
時間:
2021-1-28 11:15
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)+"!!!")
複製代碼
作者:
方黃生
時間:
2021-1-28 11:57
name,age="方黃生",11
print("我叫"+name+"今年"str(age)"歲
複製代碼
歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://seed.istak.org.tw/)
Powered by Discuz! 7.2