Python 数组的拼接

#原文:https://www.cnblogs.com/shiluoliming/p/9075693.html

# 数组的拼接
c1 = ["Red","Green","Blue"]
c2 = ["Orange","Yellow","Indigo"]
c1.extend(c2)
print(c1)

猜你喜欢

转载自www.cnblogs.com/guxingy/p/12410581.html