I Can't test this code in codeplayground ruby please!! | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

I Can't test this code in codeplayground ruby please!!

File.foreach( 'test.txt' ) do |line| puts line p line p line.chomp # chops off newline character p line.split # array of words in line end thanks a lot!!!

28th Feb 2017, 2:29 PM
wally22
1 Respuesta
+ 11
yes I give you permission
28th Feb 2017, 12:51 PM
Ahri Fox
Ahri Fox - avatar