0
red = "box1" green="box2" black="box3" color = input() if color == 'red': print(box1) elif color == "green": print(bo
This code does not work ' please ' why ?
3 ответов
0
Add '' to print(box1)
Like this:
print ('box1')
0
the code is not complete, can you share a link to the code.
what it is supposed to do?
I think you should swap the variable names and there values.
box1 = "red"
box2 = "green"
...
0
Please link the code here.