Find the output:
data=(10,20,30,1,7,9,100,51,75,80)
print(data[-40:4])
(a) (10, 20, 30, 1)
(b) (80, 75, 51, 100)
(c) (80, 75, 51)
(d) Error
Answers
Answered by
1
Answer:
when you type data=(10,20,30,1,7,9,100,51,75,80)
print(data[-40:4]) in compiler
the given output is (10, 20 , 30, 1)
Similar questions