利用w3schools練習的pythoon指令
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點,
Comments
Post a Comment