Solved

Which of the Following Statements A), B) or C) Is

Question 25

Multiple Choice

Which of the following statements a) , b) or c) is false?


A) You can xe "sequence:concatenate"xe "concatenate sequences"concatenate two lists, two tuples or two strings using the xe "sequence:+ operator for concatenation"xe "+ operator for sequence concatenation"+ operator. The result is a new sequence of the same type containing the left operand's elements followed by the right operand's elements.
B) A TypeError occurs if the + operator's operands are different sequence types-for example, concatenating a list and a tuple is an error.
C) List elements can be accessed via their indices and the subscription operator ([]) .
D) All of the above statements are true.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions