code: def max_or_0(it):
      """
      >>> max_or_0([])
      0
      >>> max_or_0(iter([]))
      0
      >>> max_or_0(iter([-10, -2, -11]))
      -2
      """
      lst = list(it)
      return max(lst) if lst else 0
  
file_path: eli5/eli5/utils.py
imports: import numpy
  from scipy import sparse
label_desc: Use image node_id 11 for calling a global function with example usage: max_or_0(it) and returns: unknown