Advertisement
ganiyuisholaafeez

Untitled

Feb 22nd, 2020
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. def same_index_values(first_items, second_items):
  2.     idx = []
  3.     for first_item, second_item in zip(first_items, second_items):
  4.         if first_item == second_item:
  5.             return
  6.  
  7. print(same_index_values([1, 2, 3], [3, 2, 1]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement