x='下列何種數據資料單位代表1024GB?(1)1ZB(2)1EB(3)1PB(4)1TB\n下列哪一個名詞和其他三個名詞不同義?(1)數據資料(2)大數據(3)巨量資料(4)海量資料\n下列何者非屬網際網路興起後的數位商品或服務模式?(1)純網路銀行(2)電子資金轉帳(3)電子商務支付系統(4)加密貨幣\n機器人是人工智慧的容器,機器人是身體,而人工智慧可以比喻成機器人的哪一部分?(1)心臟(2)腳(3)手(4)大腦\n當保險業欲透過網路與電話語音等通路提供服務時,可運用何項技術驗證身分?(1)生物辨識(2)通訊技術(3)物聯網技術(4)網路技術\n下列何項敘述非屬純網路銀行的明顯獨特特色?(1)沒有實體分行(2)沒有實體ATM機器(3)營業時間無限制全年無休(4)透過APP 提供金融服務\n下列何者非屬我國核准設立之純網路銀行?(1)連線銀行(2)將來銀行(3)新網銀行(4)樂天銀行\n目前各國金融監理機關對比特幣抱持戒慎恐懼的態度,考量的原因包含下列哪幾項? A.洗錢 B.資恐 C.逃稅 D.詐騙(1)僅 A(2)僅 A、B(3)僅 A、B、C(4)A、B、C、D'
for i in range(1,5):#字串和數字串聯concatenate必須將轉換成字串
temp = '(' + str(i) + ')'
print(temp, '出現次數', x.count(temp))
y = x.split('\n') #分割split成串列
for i in y:
print(i)
for i in range(3):
print('第',i,'題 ', y[i])
https://chenyunxi.blogspot.com/2025/09/stringmethodcountsplit.html
回覆刪除https://liuyuhsuan0.blogspot.com/2025/09/stringmethodcountsplit.html
回覆刪除https://z828253084.blogspot.com/2025/09/a123456.html
回覆刪除https://yehkotang.blogspot.com/2025/09/stringmethodcountsplit.html
回覆刪除https://biiken19071999.blogspot.com/2025/09/stringmethodcountsplit.html
回覆刪除https://zhangzhixuan2006.blogspot.com/2025/09/pythoncountsplit.html
回覆刪除https://rui960104.blogspot.com/2025/09/stringmethod-countsplit.html
回覆刪除https://qiujixuan.blogspot.com/2025/09/stringmethodcountsplit.html
回覆刪除https://santreepay.blogspot.com/2025/09/pythonhtmlcssjavascript.html
回覆刪除