4 of 6 redacted!


#1

so here is my code but it is so confusing. it worked and there are no problems but i don't get why my code prints "hi" at the end like this. it makes sense but why does it say hi if i never even coded the word hi? i don't understand why it is doing that

puts "hello" 
users_input = gets.chomp
puts "whats your name?"
users_input = gets.chomp
words = text.split(" ")
words.each do |word|
print word + ""

end
______________________
hello
 wassup
whats your name?
 nick
hi["hi"]


#2

Take a closer look at your variables. users_input defined twice and 'words' is not defined