Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def same_index_values(first_items, second_items):
- idx = []
- for first_item, second_item in zip(first_items, second_items):
- if first_item == second_item:
- return
- print(same_index_values([1, 2, 3], [3, 2, 1]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement