Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #same_index_values
- lists = ["a", "b", "c", "d"]
- figures = ["a", "x", "c", "d"]
- def same_index_values(lists,figures):
- for list in lists :
- for figure in figures :
- if lists.index(list) == figures.index(figure):
- return [lists.index(list)]
- same_index_values(lists,figures)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement