Chemistry, asked by hrsh3069, 11 months ago

58. x= [10]
def add_list():
x=[30,40]
x.append(50)
print x
add_list()
print x
The above example prints
(A) (30,40,50]
(B) Error in the program
(C) [10] [30,40,50]
(D) [10] [30,40]​

Answers

Answered by Anonymous
6

58. x= [10]

def add_list():

x=[30,40]

x.append(50)

print x

add_list()

print x

The above example prints

(A) (30,40,50]

(B) Error in the program

(C) [10] [30,40,50]✔️✔️✔️

(D) [10] [30,40]

Answered by Anonymous
4

HLO MATE HERE U GO

OPTION C IS CORRECT

Similar questions