| about | help | code help+videos | done | prefs |
longest_str
you have a list of strings. return the longest string. if there is a tie, return the longest string last encountered. longest_str(['aaa', 'bbb', 'cccc']) → 'cccc' longest_str([' ', 'a']) → 'a' longest_str(['asdf', 'movie']) → 'movie' ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy