Quick actions

cmd+k|ctrl+k

Navigation

Languages

iteratorExample

Snippet info

Language

Python

Visibility

public

Author

mdirfan19962

Created

2020-06-08T04:27:28Z

Updated

2020-06-08T04:28:13Z

# Iterator examole

iterable_value = ['md irfan','rizwan','arman']
iterable_obj = iter(iterable_value)

while True:
    try:
        item = next(iterable_obj)
        print(item)
        
    except StopIteration:
        break
INFO