Computer Science, asked by rhhrhbrh, 5 months ago

S=“This is a Python string literal”

Write the output of the following. Attempt any six

(i) S[ : : -5] (ii) S[ -15 : : -1] (iii) S[ 5 : 18 : 2]

(iv) S[ -1 : -17 : -3] (v) S[ : : -1] (vi) S[ : 3 ] + S[ 3 : ]

(vii) S[ 3 : : 4] (viii) S[ : : ]​

Answers

Answered by yanjanuoroni
1

Answer:

the reason of the main answer

Similar questions