Ad
Code
Diff
  • def longest_string(a):
        return max(a.split(), key=len)
    • def longest_string(a):
    • return max(a.split(),key=len)
    • return max(a.split(), key=len)