摘要: If order does not matter, you can use foo = "mppmt" "".join(set(foo)) set() will create a set of unique letters in the string, and "".join() will join 阅读全文
posted @ 2019-09-26 09:51 cup_leo 阅读(11797) 评论(0) 推荐(0) 编辑