- 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.
推薦閱讀
- C及C++程序設計(第4版)
- Web應用系統開發實踐(C#)
- 測試驅動開發:入門、實戰與進階
- Delphi程序設計基礎:教程、實驗、習題
- Magento 2 Theme Design(Second Edition)
- 軟件測試工程師面試秘籍
- 機器人Python青少年編程開發實例
- Julia Cookbook
- 微信小程序入門指南
- 編程菜鳥學Python數據分析
- Mobile Device Exploitation Cookbook
- Linux Shell核心編程指南
- 區塊鏈技術進階與實戰(第2版)
- Serverless Web Applications with React and Firebase
- 深度學習入門:基于Python的理論與實現