Computer Science, asked by singhyuvraj13681, 1 year ago

What's a (1:1) if a is a string of at least two characters? And what if string is shorter.

Answers

Answered by parthomsarwade
1

can u tell what to do in this question

Answered by nshriram1326
10

Answer:

if a is a string, a[1:1] will be an empty string because l'& r are both equal

Therefore if a string has atleast two characters or not, a[1:1] will be "(empty string)

Similar questions