Python Forum
Randomly assign values in List 1 to a value in List 2
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Randomly assign values in List 1 to a value in List 2
#2
probably you also want to put some constrains - i.e. max number of presentations per day/in each different day if they vary.You don't want to have all presentations in a single day (extreme case, but possible if no other constrains)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: Randomly assign values in List 1 to a value in List 2 - by buran - Dec-10-2019, 01:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Strange behavior list of list mmhmjanssen 2 196 May-01-2024, 07:16 AM
Last Post: Gribouillis
  Get an average of the unique values of a column with group by condition and assign it klllmmm 0 323 Feb-17-2024, 05:53 PM
Last Post: klllmmm
  pyaudio seems to randomly halt input. elpidiovaldez5 2 418 Jan-22-2024, 09:07 AM
Last Post: elpidiovaldez5
  Copying the order of another list with identical values gohanhango 7 1,194 Nov-29-2023, 09:17 PM
Last Post: Pedroski55
  Search Excel File with a list of values huzzug 4 1,290 Nov-03-2023, 05:35 PM
Last Post: huzzug
  No matter what I do I get back "List indices must be integers or slices, not list" Radical 4 1,230 Sep-24-2023, 05:03 AM
Last Post: deanhystad
  Problem with code / audio is playing randomly, not matching csv requirements Daniel_kcr 2 658 Sep-07-2023, 05:09 PM
Last Post: deanhystad
  Comparing List values to get indexes Edward_ 7 1,220 Jun-09-2023, 04:57 PM
Last Post: deanhystad
  Delete strings from a list to create a new only number list Dvdscot 8 1,584 May-01-2023, 09:06 PM
Last Post: deanhystad
  List all possibilities of a nested-list by flattened lists sparkt 1 945 Feb-23-2023, 02:21 PM
Last Post: sparkt

Forum Jump:

User Panel Messages

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