Create a python program to remove characters from a string that's not a letter or symbol.
string = "ABC%@#XYZ"
string = "ABC%@#XYZ"
new_string = ''.join(c for c in string if c.isalnum())
print(new_string) # output: ABCXYZ