我如何得到一个列表,每行打印一个单词?在
Write a program that takes a list of student names and sorts them to create a class roll. The list of names will be given on a one line separated by a single space.
The program should work like this:
Students: Peng Ivan Alan Jodi Macy
Class Roll
Alan
Ivan
Jodi
Macy
Peng
相反,我的程序是这样工作的:
^{pr2}$我的程序是:
我如何在每行打印?在
这个程序会给你想要的输出
尝试:
或者
^{pr2}$如果不是所有的项目都已经是字符串。在
相关问题 更多 >
编程相关推荐