Instead of using the for loop and add() method, you can use the update() method on a set to extract unique characters from a string in Python.
確定! 回上一頁