林辰訓期末考 Math.pi 和math.E放路計算機 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 1月 05, 2025 林辰訓學習Bro code製作計算機 + 7 8 9 - 4 5 6 * 1 2 3 / 0 . = C π e ** https://www.youtube.com/watch?v=I5kj-YsmWjM Build this JS calculator in 15 minutes! 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 留言
林辰訊HTML-CSS-JavaScript-Python-Java 6月 24, 2025 <iframe width="560" height="315" src="https://www.youtube.com/embed/0gyqrbnl7mM?si=AjJFm7SZEiKp-Vcw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> <iframe src=" https://zh.wikipedia.org/ zh-tw/%E4%BA%8C%E5%88%86%E6% B3%95 " width="100%" height="600" frameborder="0"> </iframe> pmt = [0,0,0,0] #劉任昌程式設計586設定串列list pmt[0]=float(input('躉繳金額: ')) for nper in range(1,4): pmt[nper] = float(input('第'+str(nper)+'期回收: ')) def npv(rate): y = - pmt[0] for j in range(1,4): y = y + pmt[j]/(1+rate)**j return y a, b, gap, f = 0.0, 1.0, 9.0, 9.0 maxerror = 0.000001 loopNumber = 1 while (gap > maxerror and abs(f) > maxerror and loopNumber ... 閱讀完整內容
林辰訓HTML按鈕BUTTON事件ONCLICK 4月 22, 2025 物件導向設計OOP=Object-Oriented Programming 主詞subject受詞object東方的oriental id=identity,身分證id card, division區塊,段落 林辰訓執行 期中考心得將以前的重點貼上 不編排PYTHON程式碼,期中考後再練習。 JAVASCRIPT的字典 dict =new Map([["2303","聯電"],["2330","台積電"],["2880","華南金"],['AAPL','蘋果公司'],['C','花旗銀行'],['T','美國電話電報']]);//宣告配對(字典) PYTHON的字典 dict ={"2303":"聯電","2330":"台積電","2880":"華南金",'AAPL':'蘋果公司','C':'花旗銀行','T','美國電話電報'} 閱讀完整內容
林辰訓Javascript與Python比較 3月 18, 2025 全球市場價值最大的銀行 按鈕PUSH增加 按鈕POP執行自訂函數kill 按鈕POP執行kill呼叫其他函數 CSS也可以in-line 寫在這裡成為網頁的一部分,執行後,可以看到。function kill_SHOW執行二指令 banks.pop()指令移除banks串列的最後一個元素ABC()去執行函數ABC()。P代表paragraph段落 以上程式碼 <STYLE> BUTTON{COLOR:WHITE;BORDER-RADIUS:20PX;BACKGROUND-COLOR:BLACK;} H1{COLOR:WHITE;BACKGROUND-COLOR:BLACK;TEXT-ALIGN:CENTER;PADDING:5PX;} P{BACKGROUND-COLOR:GRAY; FONT-SIZE:24PX;COLOR:WHITE;} </STYLE> <button onclick="ABC()">全球市場價值最大的銀行</button> <button onclick="X()">按鈕PUSH增加</button> <button onclick="kill()">按鈕POP執行自訂函數kill</button> <button onclick="kill_SHOW()">按鈕POP執行kill呼叫其他函數</button> <P id="SHOW"></P> CSS也可以in-line <script> banks=['摩根大通','美國銀行','中國工商銀行','富國銀行','匯豐銀行','巴黎銀行']; function ABC() {//第一個函數function ABC() let x = '';//定義字串x內容空白 for (let i in banks)//javascript for loop () python不需要 { x ... 閱讀完整內容
留言
張貼留言