question archive What is the output of print(tuple[2:]) if tuple = ( 'abcd', 786 , 2
Subject:Computer SciencePrice:1.87 Bought7
What is the output of print(tuple[2:]) if tuple = ( 'abcd', 786 , 2.23, 'john', 70.2 )?
Answer:
it print elements starting from 3rd element
output:
[2.23, 'john', 70.2]