儲蓄保險王 Blog
Python TQC考題908 單字次數計算,with open() as file: for line in file: for w in line.split()
fname=input() n=int(input()) R...
Python TQC考題906 字串資料取代, datanew = data.replace (strold, strnew), f.write(datanew)
#Python TQC考題906 字串資料取代 “...
Python TQC考題905 字串資料刪除,datanew=data.replace(strold,strnew), f.write(datanew)
#Python TQC考題905 字串資料刪除,datanew=da...
Python TQC考題904 資料計算, with open() as file: for line in file: L.append(line.split())
#Python TQC考題904 資料計算 # 跟910可以互相比對...
Python串列 .reverse()反轉 .sort()排序 .remove(“指定元素”)移除 .pop(index)移除, 字串.replace(old,new) .lower()小寫 .upper()大寫 .title()首字大寫
#Python串列 .reverse() .sort() .remo...
近期留言