SolveItNCERT · CBSE Boards

CBSE 2026 · Central · Set 4 · Q4 · 1 mark

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

Revision of PythonStringsApplymcq

More from Revision of Python

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