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
down voteaccepted ++ is not an operator. It is ...READ MORE
Hey, Web scraping is a technique to automatically ...READ MORE
Hi, @Roshni, It is a Floor Divisionoperator, which ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
can you give an example using a ...READ MORE
You can simply the built-in function in ...READ MORE
OR
Already have an account? Sign in.