i wanna ask about how to call a function with two arguments in python. for example, code below is an example i want to call color function.
def color(objec
The red variable is defined inside of color, so you can't use it outside of color.
red
color
Instead, you have the variables tes and tes_2 defined, so the call to color should look like print color(tes, tes_2).
tes
tes_2
print color(tes, tes_2)