python

t1=[0,1,2]
t2=[2,1,0]
def has_match(t1,t2):
  for x,y in zip(t1,t2):
    if x==y:
      print(x,"equal as",y)
      return True
  return False

#运行不出来,什么原因呢?求大神指导

原文地址:https://www.cnblogs.com/kimi765096/p/8454200.html