🌈 搜索
📅  最后修改于: 2022-03-11 14:46:48.204000             🧑  作者: Mango
s1 = 'longlongstring' s2 = 'shortstring' longestString = max(s1, s2, key=len) # returns 'longlongstring'