73093/can-somebody-explain-the-output-of-this-code-snippet
Can anybody explain me the output of the below code ?
a=[ [7,8], 9, 9] b=a[:] a[2]= 200 a[0][1]=17 print (a) print (b)
Output
[[7, 17], 9, 200] [[7, 17], 9, 9]
If you write x.insert(2,3) and then print x ...READ MORE
Hi, @There, Try this: Rollback pip to an older ...READ MORE
for i in range(0, 10, 2): if ...READ MORE
down voteaccepted ++ is not an operator. It is ...READ MORE
Hey, Web scraping is a technique to automatically ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
Enumerate() method adds a counter to an ...READ MORE
You can simply the built-in function in ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.