Prepare a python program that displays a decoded message given in a list.
code = [1,2,3,2,2,3,1,3]
code = [1,2,3,2,2,3,1,3]

message = ""
for d in code:
    if d == 1:
        message += "A"
    elif d == 2:
        message += "B"
    elif d == 3:
        message += "C"
print(message)