Iterating through a list is at least as fast as iterating through the elements of a set (usually faster, but perhaps not noticeably so). Membership tests (x in ...
確定! 回上一頁