What is printed? python w = "BANANA" print(w.count("N"))

  1. 4
  2. 1
  3. 2
  4. 3
Answer

C) 2

"BANANA" has two N's. SLO CS-11-C-05

Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise