書名: Learn Python in 7 Days作者名: Mohit Bhaskar N. Das本章字?jǐn)?shù): 52字更新時(shí)間: 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.
推薦閱讀
- Learning NServiceBus(Second Edition)
- PWA入門與實(shí)踐
- Drupal 8 Blueprints
- Beginning C++ Game Programming
- HTML5 移動(dòng)Web開發(fā)從入門到精通(微課精編版)
- Access 2010數(shù)據(jù)庫基礎(chǔ)與應(yīng)用項(xiàng)目式教程(第3版)
- 大模型RAG實(shí)戰(zhàn):RAG原理、應(yīng)用與系統(tǒng)構(gòu)建
- Scala Reactive Programming
- Python機(jī)器學(xué)習(xí):預(yù)測分析核心算法
- Java程序員面試筆試寶典(第2版)
- Fast Data Processing with Spark(Second Edition)
- Processing創(chuàng)意編程指南
- Mastering Apache Storm
- 第五空間戰(zhàn)略:大國間的網(wǎng)絡(luò)博弈
- TypeScript High Performance