發表文章

目前顯示的是 3月, 2023的文章

鄒於萱python集合set元組list串列或清單迴圈輸出

圖片
#鄒於萱 集合{},清單[],元組(),字典{key:value} w3schools程式碼 s = {"台積電", "鴻海", "聯發科", "中華電", "台塑化"} t = ("台積電", "鴻海", "聯發科", "中華電", "台塑化") list = ["台積電", "鴻海", "聯發科"] d = {2330:"台積電", 2317:"鴻海", 2454:"聯發科"} print("s型態" + str(type(s))) print("t型態" + str(type(t))) print("d型態" + str(type(d))) print("t型態" + str(type(list))) #字串與字串+ i = 0 for a in t: i = i + 1 print("台灣市場價格第" + str(i) + "大公司是") print(" " + a) print("聯發科的位置" + str(t.index("聯發科"))) '''python大區塊的註解,前後用三個引號 str 轉成字串 int 轉成數字

鄒於萱

圖片
合併列印收件者清單截圖 推薦信 地址:«公司中文地址» «董事長»,您好: 董事長向來是我崇敬的企業家,我一直期待能為您公司效力。 我畢業自德明財經科技大學,學習過HTML、CSS、JavaScript、Java、Python與微軟Office軟體,和一般大學畢業生相較,我相當熟悉於資訊科技在財務金融的應用,請參考我公然發布於Google部落格的學習成果: Java程式設計: Python程式設計: CSS網頁階層:樣式style 幕前排版系統(撰寫模式,看到的就是呈現的)與幕後排版系統(控制碼) 商業套裝軟體: 每一個作品都有任課老師的評語,任課老師劉任昌是台灣知名的學術倫理評論家,以對學術論文著作挑剔、嚴苛著稱,在教學上則是積極與啟發學生的潛能。 我的個性積極進取,具備諸多證照,我相信協助朋友、同事與公司成長,就是實踐人生價值。感謝您撥冗閱讀,希望有機會加入貴公司效力。 鄒於萱 敬上 敬祝商祺 推薦信影片

鄒於萱Python字典

圖片
w3shool截圖 程式碼 #鄒於萱 字典 keys:value a = { 2330: "台積電", 2317: "鴻海", 2454: "聯發科", 2412: '中華電'} print(a) print("用迴圈印出所有值") for t in a: print(a[t] +" 用get()方法 " + a.get(t)) a.update({1108:"幸福"}) print(a) a.popitem() print(a) a.update({6505:"台塑化"}) a.update({2308:"台達電"}) print(a.keys()) print("練習values方法") print(a.values()) print("練習items方法") print(a.items()) w3shool字典方法 Python has a set of built-in methods that you can use on dictionaries. Method Description clear() Removes all the elements from the dictionary copy() Returns a copy of the dictionary fromkeys() Returns a dictionary with the specified keys and value get() Returns the value of the specified key items() Returns a list containing a tuple for each key value pair keys() Returns a list containing the dictionary's keys pop() Removes the element with the specified key popitem() Removes the last inserted key...

112/03/16鄒於萱動畫轉成MP4影片

圖片

鄒於萱SVG與CAWVAS

w3schools練習SVG SVG Sorry, your browser does not support inline SVG.
圖片

鄒於萱w3schools字串str, format, len, slicingl:]

圖片
b ="劉德華大烏龜" #python字串單戓雙引號都可 # 0 1 2 3 4 5 6 # -6-5-4-3-2-1 print("字串長度:"+str(len(b))) #相同字串型態オ能串接 print("反過來:"+b[::-1]) print(b[:3])#b字串的0,1,2 print (b[-4:-1]) print (b[-8:-4]) x='火鍋' y = 9999 myorder = "我希望 {2}陪我去吃{0}他付錢 {1}." print (myorder.format(x, y, b)) # format的參數 0, 1, 2

鄒於萱PowerPoint動畫 Animation,格式Format

圖片

鄒於萱-軟體應用-word方程式編輯

圖片