get paid

Get paid for the tasks you do online

2019年9月7日 星期六

Python 教學 ---字串處理

字串相加與列印

str3 = str1 + ' ' + str2 # 字串連接 print(str3) #列印第二個字元 print(str3[1]) #重 0 開始計算

常用字串函數

upper() # 轉成大寫
rjust() # 右邊填空白字元




沒有留言:

張貼留言

Ether.FI 神卡 https://www.ether.fi/@46933474

 Ether.FI 真的是神卡 有買US Amazon  或穩定幣的很適合辦一張 我的推薦碼 https://www.ether.fi/@46933474