#36197: python 解說


712045@st.lths.tc.edu.tw (程式餓靈)


python 中可以用set-set,減掉相同的元素之後可以取len(set-set)

如何把輸入轉成set→n=set(map(int,input().split()))

加油!一起進步