LISTS OPERATOR

LISTS OPERATOR

• Repetition operator: makes multiple copies of a list and joins them together
    • The * symbol is a repetition operator when applied to a sequence and an integer
        • Sequence is left operand, number is right
    General format: list * n
• You can iterate over a list using a for loop
    • Format: for x in list: