摘要:
A tuple is a sequence of immutable Python objects. Tuples are sequences, just like lists. The main difference between the tuples and the lists is that 阅读全文
posted @ 2022-01-27 20:23
emanlee
阅读(102)
评论(0)
推荐(0)
摘要:
Strings are amongst the most popular types in Python. We can create them simply by enclosing characters in quotes. Python treats single quotes the sam 阅读全文
posted @ 2022-01-27 20:22
emanlee
阅读(54)
评论(0)
推荐(0)
摘要:
The most basic data structure in Python is the sequence. Each element of a sequence is assigned a number - its position or index. The first index is z 阅读全文
posted @ 2022-01-27 20:22
emanlee
阅读(51)
评论(0)
推荐(0)
摘要:
Number data types store numeric values. They are immutable data types. This means, changing the value of a number data type results in a newly allocat 阅读全文
posted @ 2022-01-27 20:20
emanlee
阅读(68)
评论(0)
推荐(0)
摘要:
In general, statements are executed sequentially − The first statement in a function is executed first, followed by the second, and so on. There may b 阅读全文
posted @ 2022-01-27 20:18
emanlee
阅读(84)
评论(0)
推荐(0)
摘要:
Decision-making is the anticipation of conditions occurring during the execution of a program and specified actions taken according to the conditions. 阅读全文
posted @ 2022-01-27 20:15
emanlee
阅读(135)
评论(0)
推荐(0)
摘要:
Operators are the constructs, which can manipulate the value of operands. Consider the expression 4 + 5 = 9. Here, 4 and 5 are called the operands and 阅读全文
posted @ 2022-01-27 20:12
emanlee
阅读(71)
评论(0)
推荐(0)
摘要:
Variables are nothing but reserved memory locations to store values. It means that when you create a variable, you reserve some space in the memory. B 阅读全文
posted @ 2022-01-27 20:11
emanlee
阅读(87)
评论(0)
推荐(0)
摘要:
The Python language has many similarities to Perl, C, and Java. However, there are some definite differences between the languages. First Python Progr 阅读全文
posted @ 2022-01-27 20:09
emanlee
阅读(93)
评论(0)
推荐(0)
摘要:
Python 3 is available for Windows, Mac OS and most of the flavors of Linux operating system. Even though Python 2 is available for many other OSs, Pyt 阅读全文
posted @ 2022-01-27 20:07
emanlee
阅读(94)
评论(0)
推荐(0)

浙公网安备 33010602011771号