6
This commit is contained in:
3
solutions/lc557.py
Normal file
3
solutions/lc557.py
Normal file
@@ -0,0 +1,3 @@
|
||||
class Solution:
|
||||
def reverseWords(self, s: str) -> str:
|
||||
return " ".join(i[::-1] for i in s.split())
|
||||
Reference in New Issue
Block a user