Python Pass Example

Python Pass Example

# iterate over a sequence (list, tuple, string) or other iterable objects " travesal

# for <iter_variable> in <iterable>:
#                 Body of for


# Example 7 {pass}
sequence = {'p','a','s','s'}
for val in sequence:
    pass