投資(investing)是一個重要議題,所以我們必須學習投資學(investment), 以懂得做投資(to invest)。華倫巴菲特(Warren Buffett)對年輕人忠告 \footnote{參考視頻(https://youtube.com/shorts/z3EqFAZ4Dxc),華倫巴菲特於 2022/4/30股東會作出類似表達,對要求推薦一股票的一位年輕學生如此說:最好的投資是發展自我(develop yourself)。參考 https://youtu.be/xSHPQk5SHzg?si=1Krq-U0c6X_fuqKl} :「你能選擇的最好投資是投資自己。」(The best investment you can make is in yourself.) 華倫巴菲特接續說:改善你的構通技巧(communication skills),包含書寫書寫表達與人際構通的技巧,好的溝通技巧可以提升你的價值50以上。 華倫巴菲特所謂「最好投資」指的是投資的過程與方法,也就是投資學(investment):年輕的時候要發展自己的專業知識,拓展自己更大的人生選擇機會與駕馭機會的高度。在這過程中會不斷累積資本(capital)與財富(wealth),如何將它們配置到金融資產(financial assets)或金融工具(financial instruments),即是投資學的議題。所以,華倫巴菲特說的投資是「廣義的」投資學,大學課程學習的投資學是「狹義的」投資學,也就是這門課的議題。 華倫巴菲建議的「投資自己」或「發展自我」意謂壓抑自己懶睡、玩樂、玩電動的行為, 而挑選「發展自我」的方向、領域、階段、時間配置等,得以提升自己的人生價值。 投資學課程的投資是犧牲現在的消費,形成儲蓄的資金,而將資金配置在各種投資工具, 配置的比率、配置的時點,都是投資學討論的議題。 英文投資(invest)與銀行(bank)的字源 投資(invest)英文字尾vest是衣服的「背心」,相關字有救生衣(safety vest)、防彈衣(bullet-proof vest)。 英文「invest」字源是拉丁文「investire」原意是穿上正式的聖袍(to clothe in the official robes of an office),直到1610年代,...
發表文章
吳敏瑄python類別class函數def
- 取得連結
- X
- 以電子郵件傳送
- 其他應用程式
影片445 wikipedia智能合約 bro code snake game程式碼 from tkinter import * import random GAME_WIDTH , GAME_HEIGHT = 1000 , 800 SPEED = 1000 #時間單位千分之一 SPACE_SIZE , BODY_PARTS = 50 , 3 #左邊變數 assigning value一次改全部 ctrl shift L COLOR = [ "red" , "orange" , "yellow" , "green" , "blue" , "indigo" , "purple" , "pink" , "lightblue" ] #0123456 FOOD_COLOR = "white" BACKGROUND_COLOR = "black" class Snake : #類別Snake def __init__ ( self ): self . body_size = BODY_PARTS self . coordinates = [] self . squares = [] for i in range ( 0 , BODY_PARTS ): self . coordinates . append ([ 0 , 0 ]) for x , y in self . coordinates : i = random . randint ( 0 , 6 ) #產生整數亂數0到6 square = canvas . create_rectan...
吳敏瑄bro code snake game python
- 取得連結
- X
- 以電子郵件傳送
- 其他應用程式
影片 截圖 程式碼 from tkinter import * import random GAME_WIDTH = 800 GAME_HEIGHT = 600 SPEED = 2000 SPACE_SIZE , BODY_PARTS = 50 , 3 #左邊變數 assigning value SNAKE_COLOR = "lightblue" FOOD_COLOR = "white" BACKGROUND_COLOR = "#000000" class Snake : def __init__ ( self ): self . body_size = BODY_PARTS self . coordinates = [] self . squares = [] for i in range ( 0 , BODY_PARTS ): self . coordinates . append ([ 0 , 0 ]) for x , y in self . coordinates : square = canvas . create_rectangle ( x , y , x + SPACE_SIZE , y + SPACE_SIZE , fill = SNAKE_COLOR , tag = "snake" ) self . squares . append ( square ) class Food : def __init__ ( self ): x = random . ...
吳敏瑄教育學習網python繪圖canvas
- 取得連結
- X
- 以電子郵件傳送
- 其他應用程式
影片432 canvas維基百科 程式碼 import tkinter as tk root = tk . Tk () root . title ( '吳敏瑄模仿教育學習網' ) root . geometry ( '300x300' ) canvas = tk . Canvas ( root , width = 300 , height = 300 ) canvas . create_oval ( 130 , 150 , 160 , 180 , width = 8 , fill = '#f00' ) canvas . create_rectangle ( 10 , 10 , 50 , 100 ) canvas . create_rectangle ( 60 , 10 , 110 , 100 , width = 8 ) canvas . create_rectangle ( 120 , 10 , 170 , 100 , width = 8 , fill = '#f00' ) canvas . create_rectangle ( 180 , 10 , 230 , 100 , width = 8 , fill = '#f00' , outline = '#00f' ) canvas . create_rectangle ( 240 , 10 , 290 , 100 , width = 3 , fill = '#fff' , outline = '#0a0' , dash =( 5 , 5 )) canvas . create_text ( 40 , 110 , text = '吳敏瑄' , anchor = 'nw' , fill = 'darkblue' , font =( 'Arial' , 30 , 'bold' , 'italic' , 'underline' )) canvas . pack () root . mainloop ()
吳敏瑄GUI計算機eval函數比較美國與印度程式碼
- 取得連結
- X
- 以電子郵件傳送
- 其他應用程式
美國計算機 影片 印度計算機 影片 美國計算機程式碼 # ************************************************************** # Python Calculator # ************************************************************** from tkinter import * def button_press ( num ): global equation_text equation_text = equation_text + str ( num ) equation_label . set ( equation_text ) def equals (): global equation_text try : total = str ( eval ( equation_text )) equation_label . set ( total ) equation_text = total except SyntaxError : equation_label . set ( "syntax error" ) equation_text = "" except ZeroDivisionError : equation_label . set ( "arithmetic error" ) equation_text = "" def clear (): global equation_tex...