Computer Science, asked by tanujupadhyay11, 1 month ago

5
(9)
If L1 = ['Computer, 65, 'Hindi', 87, 'History', 89]
Write the index of L1 from lefuto right and right to left.
b) What will get printed:
print(L1[2:5])
c)To print the 4" value in the list L1, Of the following statements, which
ones are correct? Justify.
print (L1[3]).print( L1[2+1]) , print( L1[3.0])
d) What will get printed:
print(L1[2:])
e)What will happen after the following execution?
del L1[3]
print (L1)
5 explanation​

Answers

Answered by Yadavpramila1986
0

Answer:

(9)

If L1 = ['Computer, 65, 'Hindi', 87, 'History', 89]

Write the index of L1 from lefuto right and right to left.

b) What will get printed:

print(L1[2:5])

c)To print the 4" value in the list L1, Of the following statements, which

ones are correct? Justify.

print (L1[3]).print( L1[2+1]) , print( L1[3.0])

d) What will get printed:

print(L1[2:])

e)What will happen after the following execution?

del L1[3]

print (L1)

5 explanation

Similar questions