🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Python Strings: all 15 questions

Quiz: Python Strings · Question 1 of 15

What is "Skills101"[2:5]?

What is "Skills101"[2:5]?

  1. A."kil"
  2. B."ill"
  3. C."ills"
  4. D."Ski"
Answer & explanation

Correct answer: "ill"

Indexes 2, 3, 4 → "i", "l", "l" = "ill".

Can you get the rest right without peeking?

Take the timed Quiz: Python Strings quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →