这种差异使我感到困惑:
>>> s = "()())()" >>> print set(s) set([')', '(']) >>> print {s} set(['()())()'])
为什么?
python
python ×1