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
3
Invalid operations in python:
- Concatenation of a list and a tuple.
- Slicing a dictionary.
- Adding an element to an existing tuple.
Answered by
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