Sequence: Consists of a string, a tuple, a list
There are two features: You can use the index operator and the slice operator
Index can be negative, str[-1] means the last element is taken out
The slice operator is a sequence name followed by a square bracket
Basic operator: Len () to derive sequence length
Min () to derive the smallest value in the sequence
Max () draws the largest value in the sequence
+ Connect two sequences
* Repeating sequence elements, followed by repetitions
In determining whether a string is judged in a sequence, the character needs to be quoted.
CMP (STR1,STR2) compares two sequence values for the same greater than return 1, which is less than return-1, equals return 0
A variable can be applied when a label has no quotation marks, and a normal character is represented by quotation marks
Tuple: Definition mode t= ("A", 2, "D")
When you define a value, you enclose the quotation marks
Assignment Another method a,b,c= (one-way)
Python Learning note 05-sequences, tuples