蔡淑貞PYTHON陣列ARRAY串列
利用W3SCHOOLS練習PYHON指令
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)
GOOGLE COLAB執行程式
嵌入EMBED影片與網頁

https://djhdvdhd.blogspot.com/2025/03/blog-post_25.html
回覆刪除https://djhdvdhd.blogspot.com/2025/03/blog-post.html
第一次上課。https://djhdvdhd.blogspot.com/2025/02/blog-post.html