I am trying to compare two string variables with == and it is not working for some reason. For example this code
print(dictionary[0])
print("A")
print(dictionary[0] == "A")
prints out
A
A
False
I don't understand why it returns False when they are clearly equal.
print(repr(dictionary[0])), you may have some extra characters hidden indictionary[0].unicodetobytesstrings