0
What is the output of print list[1:3] if list = [ 'abcd', 786 , 2.23, 'john', 70.2 ]?

Open 1 Answers 87 Views Technology

What is the output of print list[1:3] if list = [ 'abcd', 786 , 2.23, 'john', 70.2 ]?

1 Answer

0

It will print elements starting from 2nd till 3rd. Output would be [786, 2.23].

by (301k points)
...