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

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.

主站蜘蛛池模板: 武安市| 衡南县| 五家渠市| 谷城县| 长丰县| 琼结县| 土默特左旗| 突泉县| 潞西市| 绍兴县| 临夏县| 玉环县| 小金县| 雷山县| 辛集市| 娱乐| 武陟县| 稻城县| 九台市| 辰溪县| 昌宁县| 台中县| 灵石县| 鸡泽县| 永济市| 正镶白旗| 阜阳市| 襄樊市| 邢台市| 当涂县| 连平县| 湘乡市| 罗江县| 晋宁县| 三穗县| 通许县| 应城市| 红安县| 三门县| 东台市| 卓资县|