What will be the output? names1 = [‘Amir’, ‘Bala’, ‘Chales’] if…

What will be the output? names1 = [‘Amir’, ‘Bala’, ‘Chales’] if…

What will be the output?

  1. names1 = [‘Amir’, ‘Bala’, ‘Chales’]
  2. if ‘amir’ in names1:
  3. print 1
  4. else:
  5. print 2

a) None
b) 1
c) 2
d) Error