- 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.
推薦閱讀
- 零基礎搭建量化投資系統:以Python為工具
- JavaScript語言精髓與編程實踐(第3版)
- C++ Builder 6.0下OpenGL編程技術
- C++面向對象程序設計(微課版)
- R語言游戲數據分析與挖掘
- Programming ArcGIS 10.1 with Python Cookbook
- Java EE核心技術與應用
- Instant Lucene.NET
- Xcode 6 Essentials
- Mastering Apache Storm
- Machine Learning for Developers
- 算法秘籍
- ASP.NET開發寶典
- 例解Python:Python編程快速入門踐行指南
- SQL Server 2014 Development Essentials