I am not able to comprehend the below python code by how it is giving the output
["A", "B"][False] # A ["A", "B"][True] # B