/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
- 0 vote106 views1 answer
- 22 votes102 views3 answers
- 12 votes116 views1 answer
- 69 votes101 views6 answers
- 0 vote132 views1 answer
- 2 votes108 views3 answers
- 9 votes110 views2 answers
- 10 votes99 views3 answers
- 0 vote97 views1 answer
- 13 votes87 views2 answers