Befor.py
previousHoge = "" for hoge in HogeList : if (hoge != previousHoge): print hoge previousHoge = hoge
After.py
sorted(set(HogeList), key= HogeList)
Recommended Posts