- 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.
推薦閱讀
- 一步一步學(xué)Spring Boot 2:微服務(wù)項目實戰(zhàn)
- Google Flutter Mobile Development Quick Start Guide
- Visual C++數(shù)字圖像模式識別技術(shù)詳解
- 微服務(wù)設(shè)計原理與架構(gòu)
- Apache Spark Graph Processing
- Full-Stack Vue.js 2 and Laravel 5
- concrete5 Cookbook
- Java EE核心技術(shù)與應(yīng)用
- MySQL從入門到精通(軟件開發(fā)視頻大講堂)
- R語言數(shù)據(jù)可視化:科技圖表繪制
- Managing Microsoft Hybrid Clouds
- 智能手機故障檢測與維修從入門到精通
- QPanda量子計算編程
- HTML5 WebSocket權(quán)威指南
- Java EE輕量級解決方案:S2SH