Punch for the first time,
1. Make sure | boo1 (X) is the value of the True or False, see | X is empty, empty word is False, is not an empty word is True, for numerical variables, e, e.e can be considered to be empty,
For container variables, no element is empty inside,
Get the type information type (object)
2. Assert the keywords we call it a "claim", when the keywords behind condition is False, the program automatically collapse and throws AssertionError abnormalities,
3. The for loop is an iterative cycle, in Python iterator is equivalent to a generic sequence, can traverse any orderly sequence, such as STR, a list, the tuple, etc., can also through successive iteration is mountable objects, such as the dict,
For iteration variable in object iteration:
The code block
4. Each loop iteration variable is set to object iteration of the current element, provide for the use of a code block,
5. Assert the keywords we call it a "claim", when the keywords behind condition is False, program automatically collapse and throw AssertionError abnormalities,