- The Python Apprentice
- Robert Smallshire Austin Bingham
- 28字
- 2021-07-02 22:16:57
The str constructor
We can use the str constructor to create strings representations of other types, such as integers:
>>> str(496)
>>> '496'
Or floats:
>>> str(6.02e23)
'6.02e+23'
推薦閱讀
- Google Apps Script for Beginners
- Java Web開發(fā)之道
- Scala Design Patterns
- Getting Started with PowerShell
- Python王者歸來
- PLC編程及應用實戰(zhàn)
- Mastering KnockoutJS
- Android 應用案例開發(fā)大全(第3版)
- Angular開發(fā)入門與實戰(zhàn)
- Scala Reactive Programming
- HTML5 APP開發(fā)從入門到精通(微課精編版)
- Python機器學習:預測分析核心算法
- Getting Started with React Native
- RealSenseTM互動開發(fā)實戰(zhàn)
- Web前端應用開發(fā)技術(shù)