Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
I write print("please, type sth") but I want to continue to a new line with answer=raw_input()
when I press enter It just evaluates the expression, But I want to skip to a new line
i'm not sure what your asking exactly, but perhaps you need to append \n to your sentence
answer=raw_input("please, type sth\n")
keeping the \n inside the quotes
but I mean:http://en.wikibooks.org/wiki/Python_Programming/Variables_and_Strings
the codes are made of 2-3 lines, How can I write like them
Not the answer you are looking for? Search for more explanations.
It sounds like you're running in the interpreter instead of creating a script file. You can use a text editor to create a .py file, then run it in Python.
On another note, Nessman's suggestion will help clean up your code. There's no need to print a raw_input prompt on a separate line, just use something like:
first_name = raw_input('Please enter your first name: ')
Adding on to GabeF's answer to get to a new text file from the interpreter go file New Window or ctrl+N. That is where you type your code and edit your code then to run it either hit F5 or go run at the top and click Run Module.