官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 阜新| 民乐县| 普陀区| 贺州市| 临高县| 荔波县| 长葛市| 明水县| 西盟| 沂源县| 赤城县| 子洲县| 西峡县| 图木舒克市| 辽宁省| 开封市| 朝阳市| 渭南市| 平阴县| 尼勒克县| 威海市| 和静县| 农安县| 兴城市| 永康市| 高唐县| 广南县| 花莲县| 库伦旗| 万州区| 奈曼旗| 出国| 富裕县| 长武县| 高雄县| 遵义市| 项城市| 无棣县| 无极县| 财经| 灵武市|