From 2435807a68ba9b7915b4aa6323251dbd0d7a39ac Mon Sep 17 00:00:00 2001 From: HJHuangUM <57804285+Wogwan@users.noreply.github.com> Date: Thu, 25 Jul 2024 15:03:19 -0700 Subject: [PATCH] update problem/151.md format --- problems/0151.翻转字符串里的单词.md | 1 + 1 file changed, 1 insertion(+) diff --git a/problems/0151.翻转字符串里的单词.md b/problems/0151.翻转字符串里的单词.md index b6b34be3..a0005198 100644 --- a/problems/0151.翻转字符串里的单词.md +++ b/problems/0151.翻转字符串里的单词.md @@ -474,6 +474,7 @@ class Solution: words = s.split() #type(words) --- list words = words[::-1] # 反转单词 return ' '.join(words) #列表转换成字符串 +``` ### Go: