2025年3月4日上課Python 陣列array串列的函數(方法)
利用w3schools練習的python指令 高橋拓士
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)
0325下次順便截圖,讓大家知道你在使用anaconda.https://sccabout.blogspot.com/2025/03/idejupyterpython.html
返信削除0318.https://sccabout.blogspot.com/2025/03/buttononclick-button-push-banks.html
0311.使用PRE.才可以固定位置.https://sccabout.blogspot.com/2025/03/pythonlistarraytuplesetdict.html
0304.https://sccabout.blogspot.com/2025/03/202534python-array.html