Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
All possible combinations
#2
Maybe you can save a lot of time by observing some simple rules first:
- Multiply anything with an even number => result is even.
- Multiply 2 odd numbers = > result is odd.
Could you be more specific as to the desired output?

Paul
Reply


Messages In This Thread
All possible combinations - by CODEP - Nov-29-2020, 10:02 AM
RE: All possible combinations - by DPaul - Nov-29-2020, 10:38 AM
RE: All possible combinations - by deanhystad - Dec-01-2020, 06:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Finding combinations of list of items (30 or so) LynnS 1 919 Jan-25-2023, 02:57 PM
Last Post: deanhystad
  How can I find all combinations with a regular expression? AlekseyPython 0 1,709 Jun-23-2021, 04:48 PM
Last Post: AlekseyPython
  Triplet Combinations of All Values quest 2 2,050 Nov-05-2020, 09:22 AM
Last Post: quest
  All possible combinations of multiplications Shreya10o 0 1,702 May-23-2020, 07:45 AM
Last Post: Shreya10o
  Do something with all possible combinations of a list 3Pinter 7 4,204 Sep-11-2019, 08:19 AM
Last Post: perfringo
  list of string combinations Skaperen 8 3,436 May-22-2019, 01:18 PM
Last Post: Skaperen
  Python to iterate a number of possible combinations teflon 4 4,014 Apr-24-2019, 03:00 AM
Last Post: scidam
  Distances between all combinations in datatset amyd 6 3,964 Dec-13-2018, 01:23 PM
Last Post: amyd
  Combinations of list of lists dannyH 2 3,399 May-14-2018, 09:54 PM
Last Post: dannyH
  itertools: combinations Skaperen 2 3,081 Mar-19-2018, 01:37 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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