GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — leetcode/python/557_Reverse_Words_in_a_String_III.py at master · qiyuangong/leetcode Expand file tree/ Copy path557_Reverse_Words_in_a_String_III.pyMore file actions 7 lines (7 loc) · 183 Bytes / Copy path557_Reverse_Words_in_a_String_III.pyFile metadata and controls7 lines (7 loc) · 183 Bytes 1 2 3 4 5 6 7 class Solution(object): def reverseWords(self, s): """ :type s: str :rtype: str """ return ' '.join([word[::-1] for word in s.split(' ')]) |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |