發表文章

盧姵穎Javascript數學函數sin與cos對比Excel函數

圖片
Javascript在網頁就可以執行不需要開啟Spyder sin執行 cos執行 橫軸

盧姵穎Javascript函數sin,cos與canvas.font

Javascript在網頁就可以執行不需要開啟Spyder sin執行 cos執行 橫軸

盧姵穎Javascript執行三角函數繪圖

圖片
Javascript在網頁就可以執行不需要開啟Spyder 盧姵穎執行

甲班盧姵穎PYTHON繪製三角函數與powerpoint製作影片

圖片
python程式碼 from tkinter import * #或者import tkinter as tk import math tk = Tk() #建構視窗名為tk tk.geometry('1200x400') #視窗 1200像素 tk.title("盧姵穎python tkinter三角函數") canvas = Canvas(tk, width=1200, height=400, bg='pink') canvas.grid(row=0,column=0,padx=5,pady=5,columnspan=3) delay=10 # milliseconds, 1/1000秒 x1,y1,z1=0,200,10 h=190 #上下範圍 degree=0 #角度degree def LauHou(): l0=canvas.create_line(0,200,1200,200,fill='white',width=3) global x1, y1,z1 x2 = x1 + 1 # y2=200 - h*math.sin(0.02*x2)#座標從左上角0... z2=200 - h*math.cos(0.02*x2) l1=canvas.create_line(x1,y1,x2,y2,fill='blue',width=8) l2=canvas.create_line(x1,z1,x2,z2,fill='gray',width=8) if (x2

Word File Processing in Python(Python處理Word檔案)

圖片
影片重點 Let's develop brains. 作文,在捷運讓座let給老弱婦孺。 yield (投降, 收益) Yield seats to elderly YTM=Yield to Maturity=到期收益率 nominal yield=coupon rate=票面利率 利用python編輯edit建立create word 檔案 Process 處理....procedure程序 SOP python命令,給文件新增加一個段落 document.add_paragraph('文字內容',格式) 網頁javascript命令 document.create_element('P'); 維基百科python了解 Python was conceived [構想, concept觀念, cognitive psychology認知心理學]in the late 1980s[42] by Guido van Rossum at Centrum Wiskunde & Informatica (CWI) in the Netherlands; it was conceived as a successor to the ABC programming language, which was inspired by SETL,[43] capable of exception handling and interfacing with the Amoeba operating system.[12] Python implementation began in December 1989.[44] Van Rossum assumed sole responsibility for the project, as the lead developer, until 12 July 2018, when he announced his "permanent vacation" from responsibilities as Python's "benevolent dictator for life" (BDFL); this title was bestow...

盧姵穎javascript網頁BUTTON按鈕ONCLICK事件呼叫CALL函數

物件導向設計OOP=Object-Oriented Programming 主詞subject受詞object東方的oriental id=identity,身分證id card, division區塊,段落 盧姵穎執行 函數名稱()將要執行的程式碼用curly braces圍住。 PYTHON換列就是;區隔指令。PYTHON同一個縮排,就是{}的同一區塊 期中考心得將以前的重點貼上 JAVASCRIPT的字典 dict =new Map([["2303","聯電"],["2330","台積電"],["2880","華南金"],['AAPL','蘋果公司'],['C','花旗銀行'],['T','美國電話電報']]);//宣告配對(字典) PYTHON的字典 dict ={"2303":"聯電","2330":"台積電","2880":"華南金",'AAPL':'蘋果公司','C':'花旗銀行','T','美國電話電報'}

盧姵穎Javascript使用瀏覽器Browser就可以編譯出Interpreting

盧姵穎增加 盧姵穎銀行 刪除串列的最後一個元素 重點 python命令command='執行的程式' Javascript ONCLICK='執行的程式()' 沒必要如此做程式就可以執行,方便在未來maintain後來的python空格與跳行都是命。跳行行就是取代;號,用相同的空格數(縮牌一起)就{} ONCLICK按下滑鼠的事件on click按下