Advertisement
biswasrohit20

cl

Mar 22nd, 2021
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
  2. squares = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
  3. lookup = {}
  4. lookup = {numbers[i]: squares[i] for i in range(len(numbers))}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement