In [ ]:
print "Hello"+" World"

In [ ]:
with open('workfile', 'w') as f:
    f.write("Test\n")