Leetcode 217. Contains Duplicate Python

Published --