- Learn Python in 7 Days
- Mohit Bhaskar N. Das
- 52字
- 2021-07-09 20:40:23
Single assignment
Here, we will illustrate the use of the assignment operator (=) with an example:
city='London' # A string variable assignment.
money = 100.75 # A floating point number assignment
count=4 #An integer assignment
In this case, we assigned three different values to three variables using the = operator.
推薦閱讀
- Learn Type:Driven Development
- ASP.NET MVC4框架揭秘
- OpenCV實例精解
- Web程序設計(第二版)
- HTML5+CSS3網頁設計
- 網站構建技術
- 從Excel到Python:用Python輕松處理Excel數據(第2版)
- Arduino計算機視覺編程
- 寫給大家看的Midjourney設計書
- 玩轉.NET Micro Framework移植:基于STM32F10x處理器
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)
- Qt 4開發實踐
- Data Manipulation with R(Second Edition)
- Bitcoin Essentials
- Python GUI設計tkinter菜鳥編程(增強版)