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