7. Now you try help

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

https://www.codecademy.com/courses/ruby-beginner-en-1o8Mb/1/2?curriculum_id=5059f8619189a5000201fbcb
Can’t pass.Thanks,

Oops, try again. It looks like you didn’t use the conditional assignment operator in your code.



favorite_language = nil
puts favorite_language

favorite_language ||= "r"
puts favorite_language


@karolis12345,
try it with

favorite_language = nil
puts favorite_language

#favorite_language ||= "r"
puts favorite_language || "r"

It doesn’t work. Thanks.

im stuck and completely confused… ive been on this for 45 minutes. SOMEBODY PLEASE HELP!!!

favorite_language ||= "Ruby"
puts favorite_language

@javapro20527, thank you, I just tried this and it’s correct, but it didn’t help me understand the problem and how to solve it. Could you please explain how you got that/why it works?