fork(1) download
  1. string1 = "some string"
  2. string2 = "some string2"
  3.  
  4. concatString = string1 + "this is a very long string" +
  5. string2 + "another very long string"
  6.  
  7. print concatString
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/py_compile.py", line 117, in compile
    raise py_exc
py_compile.PyCompileError: SyntaxError: ('invalid syntax', ('prog.py', 4, 56, 'concatString = string1 + "this is a very long string" +\n'))

stdout
Standard output is empty