1 2 3 4 5 6
s = "hello world" for c in s: if c==' ': print "</br>" else: print c,
1 2
h e l l o </br> w o r l d