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