Human: iterator returns triplet i want just one of the elements. Assistant: 
Here is a Python program to iterator returns triplets. I want just one of the elements to return triplets, and I want just the element to return triple

import itertools

def get_one_element(iterator):
    """Gets one element from an iterator.

    If the iterator is exhausted, returns None.
    """
    try:
        return next(iterator)
    except StopIteration:
        return None

# Enter the iterator
iterator = itertools.count()

# Calling the function
print((get_one_element(iterator)))

#Example Output
# 0

#Remember to inspect code for bugs.