values = []          records =  contains two records of different person         values.extend((records.name, records.age , records.gender))  print values   This will print [some_name,age,gender , some_name,age,gender]     Expected output : [[some_name,age,gender] , [some_name,age,gender]]   How can I achieve this?
What's the difference between the list methods append() and extend()?
When reviewing flags, either from the queue or from the flagged post, I often want to know what the flagger could have done in addition to, or instead of, flagging for mod attention.  Does he have the rep to downvote?  To comment?  To vote to delete?  Knowing this doesn't necessarily affect how I handle the flag, but if there's a possible teaching moment there I use the flag response to point it out.  But I can't find this out unless I click through to the user's profile (unless I already know this user, of course).  Would it be possible to get the flagger's reputation in a tooltip, like what's already done for comments? Automatic updates are not auto-downloading I have my Xbox One set up to automatically download and install updates, the rest of my settings are shown below:    Is there a reason my games will show an update symbol on their tile, but they still don't download the update until I start the game manually? Where is the flaw in this "proof" that 1=2? (Derivative of repeated addition) Consider the following:   $1 = 1^2$ $2 + 2 = 2^2$ $3 + 3 + 3 = 3^2$   Therefore,   $\underbrace{x + x + x + \ldots + x}_{x \textrm{ times}}= x^2$   Take the derivative of lhs and rhs and we get:   $\underbrace{1 + 1 + 1 + \ldots + 1}_{x \textrm{ times}} = 2x$   Which simplifies to:   $x = 2x$   and hence    $1 = 2$.     Clearly something is wrong but I am unable pinpoint my mistake. Google Chrome (Windows) not displaying text/encoding correctly on certain websites I experience a problem similar to    Here's a screenshot on the website     I've tried:   Removing fonts I have installed Setting the encoding to Western, UTF-8, Greek, Automatic Changing the fonts used in Google Chrome Removing Google Chrome, including all application data/user profiles Running CCleaner Reinstalling Google Chrome, twice Installing Chromium (fonts display fine in Chromium) Turning off Windows ClearType Changing Windows/Chrome languages from English (Australia) to US, UK Restarting Windows several times after making changes   All of which did not work. I do not connect over VPN/proxy.   Can anyone give me any tips?  Windows 7 x64 Ultimate Material setings in properties window is missing I have added a sphere and I was able to add material and give it a color. Now when I add a second sphere (separate object), the material panel is just blank. How do I list the default installed packages? Virtual Box Toolbar Hidden. How to show? What is the status of TTF support in Internet Explorer? Independence of disjoint events Story where vampires are created by drop absorbed on neck? I have been trying to identify a book that I read maybe 25-30 years ago (1987-1992), in which there are vampire or vampire-like creatures, but instead of being created in the traditional way (e.g. bite on the neck), something drops a drop of a fluid on the back of their neck, which is then absorbed into the body and transforms them. I have a vague notion that some sort of tree is what creates these drops. The drops may have had a shiny metallic appearance.  I've tried to find this book before and always came up short. I'm starting to think the whole thing was a dream and I never read it at all. But I really feel like it was a book or at least a short story. Subsample of a random sample: random sample? I was skimming through  by Cosma Shalizi (in particular, section 2.1.1 of the ), and was reminded that you can get very low $R^2$ even when you have a completely linear model.  To paraphrase Shalizi's example: suppose you have a model $Y = aX + \epsilon$, where $a$ is known. Then $\newcommand{\Var}{\mathrm{Var}}\Var[Y] = a^2 \Var[x] + \Var[\epsilon]$ and the amount of explained variance is $a^2 \Var[X]$, so $R^2 = \frac{a^2 \Var[x]}{a^2 \Var[X] + \Var[\epsilon]}$. This goes to 0 as $\Var[X] \rightarrow 0$ and to 1 as $\Var[X] \rightarrow \infty$.  Conversely, you can get high $R^2$ even when your model is noticeably non-linear. (Anyone have a good example offhand?)  So when is $R^2$ a useful statistic, and when should it be ignored? I would like to ask a question about Java that doesn't have a specific answer. It's a question to see what people think and to share their opinion.    Will Stack Overflow tolerate this, or is there another Stack Exchange resource where I may ask a question like this? The limit of $((1+x)^{1/x} - e+ ex/2)/x^2$ as $x\to 0$ Is there any easy LINQ expression to concatenate my entire List&lt;string&gt; collection items to a single string with a delimiter character?  What if the collection is of custom objects instead of string? Imagine I need to concatenate on object.Name. Heisenberg famously derived his uncertainty principle by considering the disturbance that a measurement would have on a small enough system.  Of course in the mathematical formalism of Quantum Mechanics the relationship is derived from more basic principles.  How does String Theory account for it? Heuristically, and mathematically? Is momentum conserved in this situation? Suppose we have object A , which has momentum mv. Then it elastically collides with a wall, so it's momentum now -mv, So how is momentum conserved here ? What Happened to The Latex Symbols In the Libreoffice-Texmaths Equation Editor? Organize desktop icons on Windows into categories or sections Factorial Inequality problem $\left(\frac n2\right)^n > n! > \left(\frac n3\right)^n$ I met an inequality, I ask, do not mathematical induction to prove that:     Prove \[ \left(\frac n2\right)^n > n! > \left(\frac n3\right)^n \] without using induction