defs.py 83 Bytes
def nth_element(lst, n):
    if n >= len(lst):
        return ""
    return lst[n]