class Solution(object):
def longestCommonPrefix(self, strs):
"""
:type strs: List[str]
:rtype: str
"""
res=""
for i in zip(*strs):
re=set(i)
if len(re)==1:
res+=i[0]
else:
break
return res
这个res为什么可以和i[0]相加呢