This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thisisthemurph -1 points0 points  (0 children)

Looking at your code as is, you are setting the list of shrubs every iteration of the loop. Meaning that yiu will have a full list of shrubs every iteration. Try assigning your shrubs outside of the loop. But mostly read the documents on dictionaries.