
chelsea katsidzira
2,590 Pointsi dont understand what it's asking me to do?
the instructions aren't clear enough for me
# Assume get_answer() is already defined
loop do
print "what?"
answer = gets.chomp!
if answer == "e"
break
end
end
1 Answer

James Kirkpatrick
25,001 PointsTake a look at https://teamtreehouse.com/community/ruby-loop-get-answer-loop-not-working to shed some light on the situation. Hope that helps.
Happy codding!