+ 1
[SOLVED]Can someone help me debug my AI code?
Please help! https://sololearn.com/compiler-playground/cF4tTOQt3CWA/?ref=app
4 odpowiedzi
0
What's the issue?
0
SQC ,
random.shuffle(my_list)
shuffles my_list "in place", meaning it mutates the original. There's no need to copy it to a new list afterward. In fact, there's no need to return it from your shuffle_reasons() function because the damage, or desired effect, has already been done.
0
Hmm these are god points. Wish my ai was working
0
I even took the courseeeeee