i was implementing merge sort and in the base case found that there is no diff btw empty return and return None.
if cond:
return
and
if cond:
return None
is there any diff or 2 are equivalent?
i was implementing merge sort and in the base case found that there is no diff btw empty return and return None.
if cond:
return
and
if cond:
return None
is there any diff or 2 are equivalent?