Logg på
Computer Science for IGCSE & O level - Programming (Section 4 - No. 9)
What will `print("Python"[2:])` output?
P
Py
thon
Error
Forklaring
Slicing from index 2 to the end of the string will give 'thon'.
Kommentarer (0)
Logg inn for å kommentere
Annonse
Tillat at javascript laster denne siden ordentlig