We can simply use '+' operator on two lists to join them. For example, 'x' and 'y' are two lists. If we write x+y, the list 'y' is joined at the end of the list 'x'.
We can repeat the elements of a list 'n' number of times using '*' operator. For example, if we write x*n, the list 'x' will be repeated for n times as:
We can check if an element is a member of a list or not by using 'in' and 'not in' operator. If the element is a member of the list, then 'in' operator returns True else False. If the element is not in the list, then 'not in' operator returns True else False. See the examples below:
The preceding statements will give: True
If you write,
Then, it will give False