- 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]
推薦閱讀
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- Learning Informatica PowerCenter 10.x(Second Edition)
- 深入淺出Windows API程序設計:編程基礎篇
- Android NDK Beginner’s Guide
- 編程數學
- MATLAB for Machine Learning
- Yii Project Blueprints
- 小程序,巧應用:微信小程序開發實戰(第2版)
- 軟件測試綜合技術
- 從Power BI到Analysis Services:企業級數據分析實戰
- OpenCV Android Programming By Example
- 監控的藝術:云原生時代的監控框架
- SwiftUI極簡開發
- Hack與HHVM權威指南
- Java EE架構設計與開發實踐