CBSE BOARD XII, asked by nikhilchaurasia33, 5 months ago

declaration in test=['Python' ,10, 'Good', 25.45,[12,22,43]] :

Answers

Answered by pallavgutpa26112003
1

Answer:

this is correct will return no error

enjoy:)

Explanation:

Answered by dreamrob
1

Complete question:

Identify the valid declaration of test:

test=['Python', 10, 'Good', 25.45, [12, 22, 43]]

(a) nested Tuple (b) nested Dictionary (c) nested List (d) nested String

Answer:

The correct option is (c) nested List

Nested Tuple:

T = ((0, 11, 22, 33), ('Hi', 'Hello'))

Nested Dictionary:

Dict = {1: 'Hi', 2: 'Hello', 3: {'A' : 'Mr.', 'B' : 'Mrs.', 'C' : 'Ms.'}}

Nested List:

test = ['Python', 10, 'Good', 25.45, [12, 22, 43]]

Similar questions