I feel like the answer to this will be pretty obvious but I'm wondering why when I run intialize() and enter A, B or C it still prints ['warehouse d'], and I've ran into the same problem in the past where it was just printing ['warehouse a']. I'm trying to get it so that a user selects the list they wish to append some data later to but it is always picking either WHA or WHD and nothing else.
WHA = ['warehouse a']
WHB = ['warehouse b']
WHC = ['warehouse c']
WHD = ['warehouse d']
def initialize():
choice = input("Please select warehouse A, B, C or D: ")
if choice == 'a' or 'A':
selectedWH = WHA
if choice == 'b' or 'B':
selectedWH = WHB
if choice == 'c' or 'C':
selectedWH = WHC
if choice == 'd' or 'D':
selectedWH = WHD
print(selectedWH)