Computer Science, asked by shalinipurushothaman, 4 months ago

What is the output for the following code? (2)

var="James Bond"

print(var[2::-1])

S=[["him","sell"],[90,28,43]]

print(S[0][1][1])

Answers

Answered by damini1292
0

Hello bro I don't know the answer of this question.

Stay healthy.

Stay happy.

Stay blessed.

Sorry.

Answered by AravIndPB
0

Answer:

Output:

maJ

Explanation:

1st Q ans is maJ

From index 2[that is 'm'] index is from 0,1,2
to until the lase in -1 order that means to the beginning index 0.
that is maJ

Similar questions