t_p = "one\ntwo\nthree"total_packages = t_p.lines.to_aputs total_packages
Standard input is empty
one two three
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!