常利用w3schools練習的python指令

animal = ["豬", "牛", "羊", '貓', "猴", "狗"] #python語言的註解comments for i in range(5):#其他語言{}代表一個區 x = '我的' + animal[i] print(x) #使用index x = animal.copy() print(animal[3]) x.reverse() #將x反轉reverse print(x) animal.append('狗') print(animal) y = animal.copy() y.reverse() #將x反轉reverse print(y)

教學影片

JUPYTER NOTEBOOK人工智慧平台

心得 在這堂課還要再加強 電腦好難

留言

  1. https://chang-yam-ci.blogspot.com/2025/04/word-file-processing-in-pythonpythonword.html
    https://chang-yam-ci.blogspot.com/2025/04/htmlbuttononclick.html
    維基百科https://chang-yam-ci.blogspot.com/2025/03/w3schoolspython.html
    第一次上課嵌入二影片。https://chang-yam-ci.blogspot.com/2025/02/blog-post_46.html

    回覆刪除

張貼留言

這個網誌中的熱門文章

期末財金程式設計588Python_Javascript網路執行_EXCEL_IRR二分法

Python tkinter繪圖對比EXCEL