Raymond Hettinger <[email protected]> added the comment:
Two edits: - s.append(x) if side == s_side else t.append(y) + s.append(x) if side == s_side else t.append(x) - return prod(s, start=total) + for x in s: + total *= x + return total ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue41458> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
