def safe_sum(seq):
if None in seq:<EOL><INDENT>return None<EOL><DEDENT>else:<EOL><INDENT>return sum(seq)<EOL><DEDENT>
Returns the sum of a sequence of numbers. Returns 0 for empty sequence 
    and None if any item is None.

    @param seq: Sequence of numbers or None.