- 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.
推薦閱讀
- Vue.js設(shè)計(jì)與實(shí)現(xiàn)
- 數(shù)據(jù)庫(kù)程序員面試筆試真題與解析
- 從零開始:數(shù)字圖像處理的編程基礎(chǔ)與應(yīng)用
- C++ Builder 6.0下OpenGL編程技術(shù)
- Django開發(fā)從入門到實(shí)踐
- JavaScript+jQuery開發(fā)實(shí)戰(zhàn)
- Apache Spark Graph Processing
- HTML5游戲開發(fā)案例教程
- Oracle 18c 必須掌握的新特性:管理與實(shí)戰(zhàn)
- Learning PHP 7
- 軟件供應(yīng)鏈安全:源代碼缺陷實(shí)例剖析
- Python商務(wù)數(shù)據(jù)分析(微課版)
- Android Development Tools for Eclipse
- Python 3 Object:oriented Programming(Second Edition)
- Android從入門到精通