print("You can concaternate two"+"strings with the '+'operator.") print("\nThis string"+"may not"+"seem terr"+"ibly impressive."\ +"But what"+"you don't know"+"is that\n"+"it's one real"\ +"l"+"y"+" long string, created from the concatenation"\ +" of"+" twenty-two\n"+"different strings, broken across"\ +" six lines."+"Now are you"+" impressed?"+"Okay,\n"\ +"this"+" one"+" long"+" string is over!") print("\nIf you really like a string you can repeat it. For Example,") print("Who doesn't like pie? That's right, nobody. But if your really") print("like it, you should sat it like you mean it:") print("Pie "*10) input("\n\nPress enter key to exit")
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question