ExamPlay Dark Logo
Se connecter

Computer Science for IGCSE & O level - Programming (Section 4 - No. 9)

What will `print("Python"[2:])` output?
P
Py
thon
Error

Explication

Slicing from index 2 to the end of the string will give 'thon'.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc