What is printed? python w = "BANANA" print(w.count("N"))
- 4
- 1
- 2
- 3
Answer
C) 2
"BANANA" has two N's. SLO CS-11-C-05
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise
C) 2
"BANANA" has two N's. SLO CS-11-C-05
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise