Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
49880 Koddo 单词排序 Python3 输出格式错误 27 MS 3664 KB 188 2024-07-30 00:14:25

Tests(0/1):


st = list(input().split(' ')) st.sort() for i in range(len(st)): if st[i]==' ': pass elif i==0: print(st[i]) elif st[i] != st[i-1]: print(st[i])


测评信息:

输入

She  wants  to go to Peking University to study  Chinese

输出


Chinese
Peking
She
University
go
study
to
wants

答案

Chinese
Peking
She
University
go
study
to
wants

系统信息

exit code: 0, checker exit code: 0