SolveIt is under development
SolveItNCERT · CBSE · NEET
Question 4 / 13 · latest first
✓ Board-verified
Computer Science · 2026 · 1 mark

CBSE 2026 · Central · Set 4 · Q4

What is the output of the following code snippet? s='War and Peace by Leo Tolstoy' print(s.partition("by"))

What is the output of the following code snippet ?
s='War and Peace by Leo Tolstoy'
print(s.partition("by"))
ShareWhatsAppTelegram

More from Revision of Python

CBSE Class 12 Computer Science past-paper question from the 2026 board exam, with the answer as CBSE’s own marking scheme gives it. Where our answers come from.