Homework
現場作業
使用串列,讓使用者可以連續輸入五位同學英文名字,找出英文字母數最多的同學,例如Bill, Doris, Ace, Florence, Ethan,最多的為Florence。
回家作業
試著將一個班級有["Bill", "Doris", "Ace", "Carol", "Florence", "Ethan"]的list, 六個同學依照字母多寡,由少排至多印出,相同字母數的前後不拘, 所以結果會是=>["Ace", "Bill", "Doris", "Carol", "Ethan", "Florence"]
解答
https://github.com/Jason-CCS/Hello-Python/tree/master/List%20and%20Tuple
Last updated
Was this helpful?