#10684. 单词翻转
单词翻转
Description
输入一个句子(一行),将句子中的每一个单词翻转后输出。
## Input Format
只有一行,为一个字符串,不超过500个字符。单词之间以空格隔开。
## Output Format
翻转每一个单词后的字符串,单词之间的空格需与原文一致。
```input1 hello world
```output1
olleh dlrow
输入一个句子(一行),将句子中的每一个单词翻转后输出。
## Input Format
只有一行,为一个字符串,不超过500个字符。单词之间以空格隔开。
## Output Format
翻转每一个单词后的字符串,单词之间的空格需与原文一致。
```input1 hello world
```output1
olleh dlrow
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.