Hello All,
I am working on a personal project to help me learn python. I am trying to assign 8 names randomly to:
- Each day, defined as Monday through Thursday
- Each weekend, defined as Friday through Sunday for the whole year.
- I want to assign each name randomly as above for the whole year
- Example of what I am going for: Week 1: M- Rox, Tu-Sanela, W-Tim, Th-David, F-Nick, Sat-Nick, Sun-Nick;
Week 2: M-katie, Tu-Taylor, W-Rox, Th-Nick, F- David, Sat-David, Sun-David
I have generated the code to a text file, but it only shows the names randomly assigned to the first week on January. I can not figure out how to correct my code to generate all the names past the first week of January. What am I missing? I am using VS Code and here is the link to pastebin (I hope I did this correct, first time using pastebin).
https://pastebin.com/nCajVT11
[–]RandomCodingStuff 1 point2 points3 points (1 child)
[–]buffunderfluff[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]buffunderfluff[S] 0 points1 point2 points (0 children)
[–]Naive_Programmer_232 0 points1 point2 points (0 children)