def _get_or_default(mylist, i, default=None):
 if (i >= len(mylist)):
  return default
 else:
  return mylist[i]

def _get_or_default ( mylist , i , default = None ) : if ( i >= len ( mylist ) ) : return default else : return mylist [ i ]
return list item number .