I want to create a Python program which takes in multiple lines of user input. For example:
This is a multilined inp
Keep reading lines until the user enters an empty line (or change stopword to something else)
stopword
text = "" stopword = "" while True: line = raw_input() if line.strip() == stopword: break text += "%s\n" % line print text