0 votes
in Technology by (321k points)

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

1 Answer

0 votes
by (321k points)

It will print elements starting from 3rd element. Output would be [2.23, 'john', 70.200000000000003].

...