sum ([pair[0] for pair in list_of_pairs]). Now that version of Python is beyond obsolete, and SilentGhost's code works in all currently-maintained versions ...
確定! 回上一頁