呂婕綺Javascript計算現值PresentValue和Python比較 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 6月 03, 2025 利率y(rate)期數n(nper)金流m(pmt)終值f(fv) 參考呂婕綺金融市場講義https://drive.google.com/file/d/17z6UZgN5fC2XCO1L8_BQs57dgQXzbwou/view?usp=sharing 在Spyder開發環境編寫與執行Python 迴圈對照EXCEL填滿 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 留言
呂婕綺二分法求內部報酬率 6月 17, 2025 head/head,boby/boby畫蛇添足,可拿掉,因為部落格架構已經下這些命令 躉繳 第1期 第2期 第3期 注意,包含首期躉繳的現金流量都大於0。 輸出: 報酬率: 淨現值: 迴圈次數: 呂婕綺向劉任昌學習程式設計碼如下 <IFRAME WIDTH='100%' height='400' src='https://zh.wikipedia.org/zh-tw/%E4%BA%8C%E5%88%86%E6%B3%95_(%E6%95%B8%E5%AD%B8)'></IFRAME> head/head,boby/boby畫蛇添足,可拿掉,因為部落格架構已經下這些命令 <style> h1 {margin: 0;padding: 20px 0; color: black;text-shadow: 5px 5px 2px PURPLE;} .Takming {border: 20px outset red;background-color: green;color: white;text-align: center;} .pmt {width: 60pt;height: 20pt;background-color: coral;color: white;text-align: right;} </style> <body> <table border="1"> <tr align="center"><td>躉繳</td><td>第1期</td><td>第2期</td><td>第3期</td></tr> <tr><td><input class="pmt" type="number" /></td> <td><input class="pmt" type=... 閱讀完整內容
呂婕綺PYTHON陣列ARRAY串列LIST字典DIC集合SET元組TUPLE 3月 04, 2025 利用W3SCHOOLS animal = ["豬", "牛", "羊", '貓'] #python語言的註解comments,以下命令出現 print(animal[2]) print(animal[-2]) for i in range(2):#其他語言{}代表一個區 x = '我愛' + animal[i] print(animal[i]) #使用index print('上面使用index, 下面沒有') for i in animal: print(i) x = animal.copy() print(animal) x.reverse() #將x反轉reverse print(x) animal.append('狗') print(animal) y = animal.copy() y.reverse() #將x反轉reverse print(y) GOOGLE COLAB執行程式 520影片 JUPYTER NOTE人工智慧平台 UL=UNDERER LIST, OL=ORDERED LIST, LI=LIST 大括號{ }CURLY BRACKET, CURLY捲 中括號[ ]SQUARE BRACKET, SQUARE方形 小括號( )CIRCLE BRACKER, CIRCLE圓 圓周CIRCUMFERENCE 直徑DIAMETER 半徑RADIUS 閱讀完整內容
呂婕綺python視窗建構Tk輸入文字Entry視窗字串變數StringVar 4月 01, 2025 #呂婕綺python註解comment使用# '''前後用三個引號可以單引,也可以雙引''' from tkinter import * #從函式庫 tkinter 輸入所有 * 方法 banks=['摩根大通'] def ABC(): #畫圖 define自訂函數 global b1 #宣告b1是廣域GLOBAL變數,其他函數也可使用 txt = '' for i in range(len(banks)): txt += banks[i] + ' ' b1=Label(canvas,text=txt,font='Arial 20 bold') b1.pack(side=TOP) def XYZ(): #清除視窗的all所有canvas圖 banks.append(bank.get()) ABC()#結束XYZ之前給它顯示 def kill(): banks.pop()#移除串列banks元素 ABC()#執行自訂函數(寫在前面) tk = Tk()#建構Tk命令視窗名為tk global bank#宣告網域變數bank variable bank = StringVar(tk)#命令bank視窗tk的變數 tk.title("呂婕綺python建立tkinter視窗使用者介面") #也可以定義視窗名為 window, root課本都如此習慣 canvas = Canvas(tk, width=400, height=400) canvas.pack() enter=Entry(tk,textvariable=bank).pack(side=LEFT)#變數enter視窗tk的輸入工具 btn1 = Button(tk, text="銀行", command = ABC, bg='black',fg='white').pack(side=LEFT) btn2 = Button(tk, text="增加", command = XYZ, bg... 閱讀完整內容
留言