I am creating a Turtle program which will draw a Christmas Tree and some baubles. I want the baubles to have random colors and go to random points on the Christmas Tree. This is my code:
turtle.goto(random.randint(1,8)),(random.randint(1,8))
However when I run the program, this error appears:
TypeError: type object argument after * must be an iterable, not int
How do I fix this?
I do not know about turtle, but my best guess is that there is issue with your parenthesis:
Change it to: