Computer Science, asked by MOHIT3124, 2 months ago

Which of the following are not valid operations in python? i. Slicing a list ii. Concatenation of a list and a tuple iii. Slicing a dictionary iv. Adding an element to an existing tuple. ​

Answers

Answered by jai696
3

\huge{\mathtt{{\blue{\boxed{\tt{\pink{\orange{A}\purple{n}\blue{s}\red{w}\green{e}\pink{r᭄}}}}}}}}

Invalid operations in python:

  1. Concatenation of a list and a tuple.
  2. Slicing a dictionary.
  3. Adding an element to an existing tuple.

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by krishna210398
0

Answer:Adding an element to an existing tuple. ​

Explanation:Some other operators for tuples include: Multiplying a tuple by any integer, x will simply create another tuple with all the elements from the first tuple being repeated x number of times. For example, t*3 means, elements of tuple t will be repeated 3 times.

#SPJ3

Similar questions