"unless in control flow"


#1


https://www.codecademy.com/en/courses/ruby-beginner-en-NFCZ7/0/5?curriculum_id=5059f8619189a5000201fbcb

trying to solve this but it seems for me too difficult.


hungry = false

___ ___
  puts "I'm writing Ruby programs!"
___
  puts "Time to eat!"
___


#2

It's actually really simple. Look at the instructions well, and make sure to read the lesson/example.


#3

As tekkie1618 said, it's actually very simple, but it did take me a minute due to their wording.

Note that "hungry" is already declared false, then take a look at the example provided and remember you're not writing if/else, but "unless."


#4

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