/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 vote99 views1 answer
- 0 vote107 views1 answer
- 3 votes110 views3 answers
- 15 votes101 views3 answers
- 0 vote112 views3 answers
- 1 vote102 views3 answers
- -2 votes94 views1 answer
- 0 vote167 views1 answer
- 0 vote132 views1 answer
- 2 votes132 views1 answer