黃霈鈴python,方法read(),seek(0),readlines(),input,in
file = open('金融常識.txt','r',encoding='utf-8')
lines = file.readlines()
file.seek(0)
reading =file.read()
file.close()
print(Ien(lines), Ien(reading))
x = input('金一乙黃霈鈴輸入搜尋關鍵詞,列出所有題目: ')
n = 0
for line in lines:
if x in line:
n = n+1
print(n, ' ',line,end="")
print(f'總共{n}題目')
1102.商業軟體期中考。妳沒有截圖EXCEL?
回覆刪除這是我看過、玩過最好的版本,妳是天縱英明,神力女超人!我要對妳跪拜,再跪拜!https://huangpeiling16.blogspot.com/2026/11/tetris-appbackground101827colorwhitepad.html
金融常識測驗被正確更正了。https://huangpeiling16.blogspot.com/2026/09/python.html
程式設計期中考錯誤,應該是沒有使用/STYLE. https://huangpeiling16.blogspot.com/2026/11/htmlcssjavascriptpython.html
1028. https://huangpeiling16.blogspot.com/2026/10/excelvlookupindirectctrl-shift-enter.html
應該要將文字放在 PRE 和 /PRE 之間.https://huangpeiling16.blogspot.com/2026/10/file-open.html
https://huangpeiling16.blogspot.com/2026/10/pythoninputfind-1.html