Redacted!


#1


https://www.codecademy.com/courses/ruby-beginner-en-mzrZ6/0/4?curriculum_id=5059f8619189a5000201fbcb#

What is your name?
Ayotunde
Where are you from?
Lagos
undefined local variable or method `array' for #

puts "What is your name?"
text = "What is your name"
gets.chomp
puts "Where are you from?"
redact = "Where are you from"
gets.chomp

words = "Ayotunde Lagos"
.split (" ")
array.each do |words|
    print words
end


#2

here..
array.each do |words|

hint**
array ? or words?

Also you have to save user inputs in text and redact!


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.