- Hands-On Data Science and Python Machine Learning
- Frank Kane
- 56字
- 2021-07-15 17:15:00
The append function
If you want to just add one more thing to that list, you can use the append function. So I just want to stick the number 9 at the end, there we go:
x.append(9)
x
The output of the above code is as follows:
[1, 2, 3, 4, 5, 6, 7, 8, 9]
推薦閱讀
- TestNG Beginner's Guide
- Learn Swift by Building Applications
- Python金融數據分析
- 編譯系統透視:圖解編譯原理
- Advanced Oracle PL/SQL Developer's Guide(Second Edition)
- PHP+Ajax+jQuery網站開發項目式教程
- Go語言底層原理剖析
- C語言程序設計與應用(第2版)
- Learning Android Application Testing
- 零基礎C#學習筆記
- 超好玩的Scratch 3.5少兒編程
- Mastering ArcGIS Server Development with JavaScript
- Java王者歸來:從入門邁向高手
- 天天學敏捷:Scrum團隊轉型記
- 我跟爸爸學編程:從Python到C++