曾中仁Python迴圈range

w3schools學習python

 


w3schools學習python程式碼

#註解 曾中仁增忠仁程式交易 python迴圈 相當於EXCEL一列
#相當於JavaScript的//

for i in range(20,10,-2):
   print("第" + str(i) + "列")
#整數i要和字串相+連,先轉成字串string指令str

複習EXCEL都會對應到python指令

  • Max
  • Min
  • Match
  • Index
  • 目標搜尋,學找最佳會參數
  • 運算列表,判斷參數是否可靠、是否一致

使用修飾的CSS指令前後要加style與/style

h1 {background-color: purple;color: white; text-align: center; padding: 10px; border: black 20px solid; border-radius: 30px;} h2{ border: blue 10px solid; border-radius: 20px;text-align: center;} pre {font-family: verdana; font-size: 20px; border: solid 2px blue; line-height: 1.5}

教學影片

13

14

留言

張貼留言

這個網誌中的熱門文章

曾中仁EXCEL公式IF AND MATCH INDEX

曾中仁excel資料/模擬分析/運算列表:買權定價公式

曾中仁利用日資料學習五日平均線黃金交叉,死亡交叉