Showing Syntax Error while try to output the dictionary or a list value
Syntax error on print with Python 3
Is "89.9%" singular or plural? Abelian quotient group I'm stuck on the following practice problem.   Any hints would be appreciated.  Suppose $N$ is a normal subgroup of  $G$ such that every subgroup of $N$ is normal in $G$ and $C_{G}(N) \subset N$. Prove that $G/N$ is abelian.  I'm not sure how to use the fact that $C_{G}(N) \subset N$.  Thanks On the existence of a continuous bijection $f\colon [0,1]\to [0,1]\times [0,1]$ Let $f$ be a continuous function on $[0,1]$ such that $f([0,1])=[0,1]\times[0,1].$ Then show that $f$ is not one-one.  Hints will be appreciated. Graph with Cycle and Two-Colorable i think if the graph G has an odd cycle, it's not two-colorable, otherwise it can be two colorable.   i read in one notes that the following is True: we couldent two-colorable any graph G that has cycle.    anyone could clarify me ? Cannot install Ubuntu in VirtualBox due to "this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot" error I was trying to install Ubuntu 12.04 in VirtualBox 4.2.12r84980. I see    this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot   But I am using a 64 bit Windows 8, and trying same .iso for trying Ubuntu. Then what is the problem? I was improving some of my old posts on Stack&nbsp;Overflow when I ended up encountering this:     You have already edited 5 of your own post today; futher edits are not   allowed until tomorrow   I know this it is not a major deal, but what's the logic underneath to this restriction? How do I extract an ISO on Linux without root access How do I install an SSH private key generated by PuTTYgen? How can I minimise the time to get a new UK passport? Creating queries to select by attribute with arcpy I'm quite new with arcpy and I'm finding selecting by attribute a bit of a nightmare. There's a problem with my query on the script below [query = "\'Location\' = observer"], but I can't tell what it is. 'Location' is a field of the feature class I'm dealing with (fc_copy).  with arcpy.da.UpdateCursor(fc_copy,field_names) as cursor:        for row in cursor:         observer = row[0]         arcpy.MakeFeatureLayer_management(fc_copy, 'fl_copy_OBS')         arcpy.MakeFeatureLayer_management(fc_copy, 'fl_copy_TAR')         query = "\'Location\' = observer"         arcpy.SelectLayerByAttribute_management('fl_copy_OBS', 'NEW_SELECTION', query)         arcpy.SelectLayerByAttribute_management('fl_copy_TAR', 'NEW_SELECTION', query, invert_where_clause = 'INVERT')   This is the error I get => Invalid expression                            Failed to execute (SelectLayerByAttribute).  Is there any documentation to learn the rules to follow to build queries for arcpy? How do I compare two string variables in an 'if' statement in Bash? If $G$ is a finite $p$-group with a nontrivial normal subgroup $H$, then the intersection of $H$ and the center of $G$ is not trivial. Induction and electromagnetic fields I've got a few questions on induction and electromagnetic fields. My current understanding of induction and electromagnetic fields is that, when electricity/current flows through a wire, it creates an electromagnetic field. If you twist that wire into a coil then you can concentrate that field. You can then induce current into a different coil by placing it inside of the electromagnetic field created by the first coil.  So here are my questions:  Q1. Does the electromagnetic field contain any energy?  EDITED QUESTION  Q2. Electromagnetic fields are the same as waves, so does that mean that when current is induced, they get the energy from electromagnetic waves being exchanged, or do they induce current directly from the electromagnetic field?   Q3. If electromagnetic fields and waves are the same, then doesn't that mean that you can induce current from waves? Therefore transferring electricity over long distances?  Q4. What spectrum of light are the electromagnetic waves that are in a field created by electricity?  Q5. Finally, why is it not possible to induce current from the Earth's magnetic field? I thought Maxwell said that electric fields and magnetic fields were the same thing.   Thank you to anyone who answers.  Edited Q2: So my original question (although asked poorly) still stands. Where does the current that gets induced in the secondary coil come from? How does the electricity transfer from the primary coil to the secondary? For example, is it taken from the stored energy in the e.m field? Does the field just act as a bridge between the 2 coils? Or do the 2 coils exchange e.m waves which carry the electricity that is being transferred from coil 1 to coil 2? Or is it none of these things and something completely different? If particles are points, then aren't atoms empty space? Zero dimensional points do not take up space, so then wouldn't everything in the universe be literally empty? Or is there something that I'm missing? What can I do to give the players the same feel their characters would have about wilderness travel? Do the -ing and to-infinitive "verbs" that follow catenative verbs always take the grammatical function of "noun"? I'm wondering whether or not the verb form that follows a catenative verb has the grammatical function of a noun or of a verb, and whether or not it depends on the first catenative verb.  "I like to run" "I like running"  the -ing and the to infinitive can easily be switched in this sentence, and it seems to be implying "I like [the act of[running]]", so both the infinitive and the gerund are nouns.  "I like to run marathons"/"I like running marathons"   These seem like they might still be nouns but need "verb powers" to take the object, and then these sentences really turn into "I like [the act of [running marathons]]"/ "I like [to be in the state of [running marathons]]".  Is this true for both the -ing (and so it would be a gerund) and the to-infinitive? Are they, sort of, initially verbs so that they can take the object, and then the verb + object becomes a noun phrase?  If this is true, I'm also wondering if the same rules apply for a catenative verb such as "start".  "I started to run in the mornings" "I started running marathons in 2008"  "start" is a catenative verb that isn't a cognitive/emotion verb, and specifically suggests action. So what is the grammatical function of the to-infinitive and -ing verb forms? are they verbs? are they nouns? It just seems incorrect to say that their grammatical function is a noun, but everything I've seen on the internet is pretty vague. I've also seen that to-infinitives are never verbs, but only from one source and it just doesn't seem right to me.  So any ideas on the true grammatical function of the -ing and the to-infinitive after a catenative verb? And is it universal across catenative verbs, or does it depend on the verb category? I usually use "at a company" but I have encountered some articles using "in a company", "in XYZ firm" or "in an organization".  Which one is right? Get the real width and height of an image with JavaScript? (in Safari/Chrome) I am creating a jQuery plugin.  How do I get the real image width and height with Javascript in Safari?  The following works with Firefox 3, IE7 and Opera 9:  var pic = $("img")  // need to remove these in of case img-element has set width and height pic.removeAttr("width");  pic.removeAttr("height");  var pic_real_width = pic.width(); var pic_real_height = pic.height();   But in Webkit browsers like Safari and Google Chrome values are 0. Introduction to string theory How do I capture artificial light sources better? I am quite new to photography and was looking into how I can take better indoor photographs, particularly around night time.  I'm currently in a hotel room for the night and decided to try and take a picture of my room to test out my tripod which I haven't used before. However I noticed no matter what I set my camera settings to the artificial lights (particularly the lamp on the left, image attached) just appeared very washed out. You can't tell any detail about the lamp shade all you can see is just some sort of light but not much to it.  I tried a variety of fstop/shutter speed settings and tried a variety of ISO settings but they all appeared pretty much the same unless I massively underexposed the image.  Given that I wondered whether the solution would be to take a HDR image or take a normal exposure and an underexposed image and blend them later? I understand that artificial light like this can be very hard and harsh but I wondered if there's a way of improving the result with looking away from it?  I wasn't trying to take any particular special picture here but just test out my camera a bit more but this was the first thing I noticed and I didn't know how to fix it. Any tips would be greatly appreciated.