Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

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)

Busy Beetle answered on June 27, 2020 Popularity 1/10 Helpfulness 8/10

Contents


More Related Answers


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
Popularity 1/10 Helpfulness 8/10 Language python
Source: Grepper
Tags: python
Link to this answer
Share Copy Link
Contributed on Jun 27 2020
Busy Beetle
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.