3
sent = "this is a fun day"
sent = sent.split()
newList = [ch for ch in sent]
print(newList)
output = ["this" "is","a","fun","day"]
我要打印的每張發爲好len
和每個單詞大寫和輸出應該是如何在列表理解中打印多個值?
output = [["this", 4, 'THIS'], ["is", 2, "IS"], ["a", 1, "A"], ["fun", 3, "FUN"], ["day", 3, "DAY"]]