I want to have an argument in a function that fills an array with multiple strings, so that i have
def Test(colors):
colorarray = [colors]
which i can fill with
Test(red,blue)
but i always get either the takes 2 positional arguments but 3 were given
error or the single strings do not get accepted (e.g. TurtleColor(Color[i]) tells me "bad color string: "red","blue"
)
i know i can pass the strings as seperate arguments, but i kind of want to avoid having that many different arguments.