Computer Science, asked by samridhseth07, 4 months ago

what do you understand by string slices​

Answers

Answered by someonezx
1

Answer:

OK

Explanation:

String Slicing: String slicing means the python strings are immutable, which means that they cannot be changed after they are created.

HOPE IT HELPS MARK IT AS BRAINLIST ANSWER

Answered by TeraBhaii
2

Answer:-

  • A sub part or a slice of a string, say & s can be obtained using S [ n :n] whete n and m are integers .
  • Python returns all the characters at indices n, n +1 , n +2 ....m -1 eg, well done [1:4] will give "ell"

Similar questions