update problem/151.md format
This commit is contained in:
parent
8b0d5b234f
commit
2435807a68
|
|
@ -474,6 +474,7 @@ class Solution:
|
|||
words = s.split() #type(words) --- list
|
||||
words = words[::-1] # 反转单词
|
||||
return ' '.join(words) #列表转换成字符串
|
||||
```
|
||||
|
||||
### Go:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue