計算 word_count.txt的行數、字數、字元數from string import *def countWords(s):words=s.split()return len(words)def countChar(s):charNum=0word=s.split()for ...
確定! 回上一頁