# Generate random words in Python · Open a file in reading mode. · Use the str.splitlines() or str.split() method to split the contents of the file into a list.
確定! 回上一頁