我有一个文本文件,其中包含:
text.txt
achievement , a thing done successfully with effort, skill, or courage.
skill , the ability to do something well; expertise
jump , push oneself off a surface and into the air by using the muscles in one's legs and feet.
我怎样才能把逗号后面的句子打印出来。这是逗号前的单词的定义。然后用随机函数随机打印出来。但只要打印一个定义。请帮忙。谢谢。你知道吗
这样的怎么样?你知道吗
你的问题已经回答了一半。如何分割。 只需要两个基本要素。读入文本文件并分割一些字符串。你知道吗
相关问题 更多 >
编程相关推荐