Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Created May 1, 2020 03:38
Show Gist options
  • Save Celia-code/4e4678e9c58e8c1bdcfa1b3b3da3eb1b to your computer and use it in GitHub Desktop.
Save Celia-code/4e4678e9c58e8c1bdcfa1b3b3da3eb1b to your computer and use it in GitHub Desktop.
列表
a = [1, 2, 3]
b = [4, 5, 6]
c = a.extend(b)
print(c)
# c的结果是:1,2,3,4,5,6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment