看板
[ Python ]
討論串[問題] 想請問如何不print出空格?
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
稍微展開來說說,關於使用逗號、加號. 以及 f-string 一些容易混淆的地方。. 首先來試試以下的程式:. >>> str1 = "Hello". >>> str2 = "World!". >>> print(str1, str2). Hello World!. >>> print(str1 +
(還有1844個字)
首頁
上一頁
1
下一頁
尾頁