a = ( ' Hina', 'Meena', 'Teena', 'Nina')
t = a[:2]
Print (t)
Answers
Answered by
1
Answer:
[' Hina', 'Meena']
Explanation:
A = [' Hina', 'Meena', 'Teena', 'Nina']
#A[:2]
t = A[:2] ([:2] will take values from 0 to (2-1) as python takes one value
print(t) less and print value indexing 0, 1
indexing:
0 = Hina
1 = Meena
2 = Teena
4 = Nina
Similar questions