Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2435807

Browse files
committed
update problem/151.md format
1 parent 8b0d5b2 commit 2435807

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎problems/0151.翻转字符串里的单词.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ class Solution:
474474
words = s.split() #type(words) --- list
475475
words = words[::-1] # 反转单词
476476
return ' '.join(words) #列表转换成字符串
477+
```
477478

478479
### Go:
479480

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /