發表文章

陳暐丞期中考emoji繪文字onchange事件

圖片
陳暐丞輸入參數 輸入k 輸入m 輸入n 執行自訂函數 red green blue 重點 span手掌張開拇指到小指,短橋梁長度。 VSCode是IDE整合開發環境。 CTRL+SHIFT+L一次改全部 Integrated Development Environment alert內建函數,自訂函數abc 利用id加上syle方法是#id 老師的公民記者 https://www.peopo.org/news/672998 陳暐丞輸出結果

陳暐丞python與JAVASCRIPT程式碼對照

圖片
h1{background-color: purple; color: white; border: 10px solid red; text-align:center; padding: 5px} ul{background-color: green; color: white; font-size: 2em;line-height:1.5} input{font-size:24px;background-color:rgb(210, 250, 215);} .monkey{font-size:36px;} pre{background-color: purple; color: white;} 陳暐丞輸入參數 輸入k 輸入m 輸入n 執行自訂函數 重點 alert內建函數,自訂函數abc 陳暐丞輸出結果

陳暐丞python寫入write迴圈範圍range

圖片
space, slash, backslash, cr = ' ', '/', '\\', '\n' k = input('邊長: ') #輸入字串 m = input('橫向: ') k, m = int(k), int(m) f = open("難嗎.txt",'w',encoding='utf8') f.write('劉任昌讀取檔案' + cr)#註解\n換列 for i in range(9): f.write(str(i)) f.write(cr) for i in range(1, k+1): #迴圈1到k for ii in range(m): for j in range(k-i): f.write(space) f.write(slash) for j in range(2*i-2): f.write(space) f.write(backslash) for j in range(k-i): f.write(space) f.write(cr) for i in range(1, k+1): for ii in range(m): for j in range(i-1): f.write(space) f.write(backslash) for j in range(2*k-2*i): f.write(space) f.write(slash) for j in range(i-1): f.write(space) f.write(cr) f.close()

陳暐丞python字串string方法methods

圖片
單元371影片 程式碼 txt = "陳暐丞 love 蘋果, 蘋果是我 are my favorite 水果蘋果" print(txt.count("蘋果")) print('先練習內建函數len',len(txt)) print('find',txt.find("蘋果")) print(''rfind',txt.rfind("蘋果")) Method Description capitalize() Converts the first character to upper case casefold() Converts string into lower case center() Returns a centered string count() Returns the number of times a specified value occurs in a string encode() Returns an encoded version of the string endswith() Returns true if the string ends with the specified value expandtabs() Sets the tab size of the string find() Searches the string for a specified value and returns the position of where it was found format() Formats specified values in a string format_map() Formats specified values in a string index() Searches the string for a specified value and returns the position of where it was found isalnum() Returns True if all characters in the string are alphanumeric isalph...

陳暐丞CANVAS繪圖套件繪製選擇權到期日損益圖

陳暐丞canvas繪圖套件繪製選擇權到期日損益圖 買入選擇權到期日損益 賣出選擇權到期日損益

陳暐丞2024年一月三日java

圖片
import java.awt.*; import java.awt.geom.Line2D; import javax.swing.*; public class Options { public static void main(String[] args) { JFrame frame = new JFrame("陳暐丞Java繪製選擇權到期日損益"); Container cp = frame.getContentPane(); cp.add(new JComponent() { public void paintComponent(Graphics g) { Graphics2D g2 = (Graphics2D) g; g2.setStroke(new BasicStroke(2));//stroke中風,筆觸 g2.setFont(new Font("monospaced", Font.BOLD|Font.ITALIC , 16)); g2.drawString("買入賣權到期日損益",0,120); g2.draw(new Line2D.Float(0, 0, 100, 100)); g2.draw(new Line2D.Float(100, 100, 200, 100)); g2.drawString("買入買權到期日損益",300,120); g2.draw(new Line2D.Float(300, 100, 400, 100)); g2.draw(new Line2D.Float(400, 100, 500, 0)); g2.drawString("賣出賣權到期日損益",0,180); g2.draw(new Lin...

陳暐丞期中考金融科技297-306

圖片
金融常識考試297到306金融科技 答 1 2 3 4 下列何者非屬資訊安全的基本三要素? 一致性(Consistence) 完整性(Integrity) 可用性(Availability) 機密性(Confidentiality) 答 1 2 3 4 下列何者非屬組織採用雲端運算服務的常見考量原因? 商譽 成本 速度 效能 答 1 2 3 4 下列何種數據資料單位代表1024GB? 1ZB 1EB 1PB 1TB 答 1 2 3 4 下列哪一個名詞和其他三個名詞不同義? 數據資料 大數據 巨量資料 海量資料 答 1 2 3 4 下列何者非屬網際網路興起後的數位商品或服務模式? 純網路銀行 電子資金轉帳 電子商務支付系統 加密貨幣 答 1 2 3 4 機器人是人工智慧的容器,機器人是身體,而人工智慧可以比喻成機器人的哪一部分? 心臟 腳 手 大腦 答 1 2 3 4 當保險業欲透過網路與電話語音等通路提供服務時,可運用何項技術驗證身分? 生物辨識 通訊技術 物聯網技術 網路技術 答 1 2 3 4 下列何項敘述非屬純網路銀行的明顯獨特特色? 沒有實體分行 沒有實體ATM機器 營業時間無限制全年無休 透過APP 提供金融服務 答 1 2 3 4 下列何者非屬我國核准設立之純網路銀行? 連線銀行 將來銀行 新網銀行 樂天銀行 答 1 2 3 4 目前各國金融監理機關對比特幣抱持戒慎恐懼的態度,考量的原因包含下列哪幾項? A.洗錢 B.資恐 C.逃稅 D.詐騙 僅 A 僅 A、B 僅 A、B、C A、B、C、D 送出297至306答案 顯示答案 講解297至306 學習心得 OL預設從1開始START=起始 324影片 325影片