def P(U,V): return sum(x*y for x,y in zip(U,V)) def O(U,V): if P(U,V)==0: a='oui' else: a='non' return a U=[1,3] V=[22,-5] print(O(U,V))