Answers for "x= [10] def List_ex(): x.append(20) def add_list(): x=[30,40] x.append(50) print (x) List_ex() print (x) add_list() print (x)"

1

x= [10] def List_ex(): x.append(20) def add_list(): x=[30,40] x.append(50) print (x) List_ex() print (x) add_list() print (x)

x= [10]
def List_ex():
    x.append(20)
def add_list():
    x=[30,40]
    x.append(50)
print (x)
List_ex()
print (x)
add_list()
print (x)
Posted by: Guest on June-27-2020

Python Answers by Framework

Browse Popular Code Answers by Language