I Can't test this code in codeplayground ruby please!! | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответ
+ 11
yes I give you permission
28th Feb 2017, 12:51 PM
Ahri Fox
Ahri Fox - avatar