This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
2
How do I combine two lists together to form a x y coordinate reference point?
Post Body
I have two lists:
row = [470, 518, 565, 612]
col = [1087, 1135, 1182, 1230, 1277]
I need to join the lists so that I get either one mega list or dictionary that looks something like this:
[[470,1087], [470, 1135], [470, 1182], ... [612,1277]]
It's fine if its easier to do it as dictionary. The important part is that I need to be able to iterate through each of these x,y coordinates once afterward. What is the best way to combine these two lists to "generate" a list of x,y combined coordinates, and then be able to iterate through it?
Author
Account Strength
90%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
749
Link Karma
564
Comment Karma
185
Profile updated: 1 week ago
Posts updated: 1 month ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/learnpython...