Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 Pairs 2 Lists
#2
Do you need to take one element from each list or not? (disregarding the fact that we can spot a solution a mile away)
(or do you mean a pair each of 2 numbers = 4?)
If you don't , add the lists together and loop over them.
If you do, you may need 2 loops.
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Messages In This Thread
2 Pairs 2 Lists - by Harshil - Aug-12-2020, 04:27 PM
RE: 2 Pairs 2 Lists - by DPaul - Aug-12-2020, 05:13 PM
RE: 2 Pairs 2 Lists - by Harshil - Aug-12-2020, 05:14 PM
RE: 2 Pairs 2 Lists - by DPaul - Aug-12-2020, 05:22 PM
RE: 2 Pairs 2 Lists - by Harshil - Aug-12-2020, 05:23 PM
RE: 2 Pairs 2 Lists - by DPaul - Aug-13-2020, 06:34 AM
RE: 2 Pairs 2 Lists - by DeaD_EyE - Aug-13-2020, 01:25 PM
RE: 2 Pairs 2 Lists - by deanhystad - Aug-13-2020, 02:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to find 'cycle' for key-value pairs in a dictionary? junnyfromthehood 1 3,735 Sep-29-2019, 01:07 AM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020