def get(lst, idx):
        """Return the value of lst[idx] or None"""
        if (len(lst) > idx):
            return lst[idx]
        else:
            return None
Return the value of lst[idx] or None
recipes/Python/496897_Running_Batch_Commands/recipe-496897.py