This commit is contained in:
Vombit
2026-05-27 15:52:14 +05:00
parent d940e1dd2f
commit 801bafd8ba
4 changed files with 35 additions and 0 deletions

3
solutions/lc557.py Normal file
View File

@@ -0,0 +1,3 @@
class Solution:
def reverseWords(self, s: str) -> str:
return " ".join(i[::-1] for i in s.split())