/Python/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)
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
- -1 vote199 views2 answers
- 0 vote173 views1 answer
- 33 votes168 views6 answers
- 8 votes192 views1 answer
- 87 votes178 views6 answers
- 0 vote192 views1 answer
- 0 vote174 views1 answer
- 0 vote292 views1 answer
- 0 vote189 views1 answer
- 1 vote178 views1 answer