运行下面的代码,程序输出的结果是?
names1 = ['Amir','Bala','Chales'] if 'amir' in names1: print(1) else: print(2)
无输出,空
1
2
Amir