Computer Science, asked by shashwatakar35, 8 months ago

Consider the given figure and give output
String A S A V E M O N E Y
Positive Index 0 1 2 3 4 5 6 7 8 9
Negative Index -10 -9 -8 -7 -6 -5 -4 -3 -2 -1

>>> ‘SAVE MONEY’
A) >>>A[1:3]
B) >>>A[ :3]
C) >>>A[3:]
D) >>>A[-2:]
E)>>>A[:-2]
F) D) >>>A[::2]

Answers

Answered by Vaishnavi1528
19

Answer:

D) >>>A[-2:]

E)>>>A[:-2]

F) D) >>>A[::2]

Explanation:

May this ANSWER will help you plz mark has brainliest

Similar questions