I ' m thankful there is still a possibility to continue the serious . Hopefully at Godspeed <| sep |> Im taking Education Course ! Haha what a coincidence <| sep |> There is always that risk <| sep |> Well , those are in better shape than mine . <| sep |> Traders sell under the assumption that other traders are going to sell under the assumption that other traders are going to sell under the assumption that other traders are going to sell under the assumption that . <| sep |> Split the text on a line break character nand join it back together with your numbers mytext ''' thisisline 1 thisisline 2 thisisline 3 ''' lines mytext . split ' n ' # lines ' thisisline 1 ', ' thisisline 2 ', ' thisisline 3 ' lines '. '. formatnidx 1 , textline for idx , line in enumeratelines # lines ' 1 . thisisline 1 ', ' 2 . thisisline 2 ', ' 3 . thisisline 3 ' output ' n '. joinlines # output ' 1 . thisisline 1 n 2 . thisisline 2 n 3 . thisisline 3 ' printoutput # 1 . thisisline 1 # 2 . thisisline 2 # 3 . thisisline 3