比如輸入的是這樣:this one ok this one two three go end at end
dic1={}
n=input().split()
for i in n:
縮進if i in dic1:dic1[i]+=1
縮進else:dic1[i]=1
print(dic1)