update problem/151.md format

This commit is contained in:
HJHuangUM
2024-07-25 15:03:19 -07:00
parent 8b0d5b234f
commit 2435807a68

View File

@ -474,6 +474,7 @@ class Solution:
words = s.split() #type(words) --- list
words = words[::-1] # 反转单词
return ' '.join(words) #列表转换成字符串
```
### Go