利用w3schools練習的pythomn指令

animal = ["豬", "牛", "羊", '貓']
#python語言的註解comments
x = animal.copy()
print(animal)
x.reverse() #將x反轉reverse
print(x)
animal.append('狗')
print(animal)
y = animal.copy()
y.reverse() #將x反轉reverse
print(y)
  
UL=UNDERER LIST, OL=ORDERED LIST, LI=LIST
大括號{ }CURLY BRACKET, CURLY捲
中括號[ ]SQUARE BRACKET, SQUARE方形
小括號( )CIRCLE BRACKER, CIRCLE圓
圓周CIRCUMFERENCE
直徑DIAMETER
半徑RADIUS
BORDER邊界, SOLID實心, PX=PIXEL點,

留言

  1. 416.https://wei1029.blogspot.com/2025/04/javascriptpython.html
    326.https://wei1029.blogspot.com/2025/03/from-tkinter-import-tkinter-banks-def.html
    312.https://wei1029.blogspot.com/2025/03/pythonlistarraytuplesetdict.html
    305.https://wei1029.blogspot.com/2025/03/h1background-colorpurplecolorwhite.html

    回覆刪除

張貼留言

這個網誌中的熱門文章

杜品葳二分法求內部報酬率

杜品葳Javascript網頁BUTTON按鈕ONCLICK事件call呼叫函數

杜品葳Python_Javascript網路執行_EXCEL_IRR二分法