defs.py 83 Bytes EditWeb IDE 1 2 3 4 def nth_element(lst, n): if n >= len(lst): return "" return lst[n]