If i = boy

--Originally published at Just A Turtle Coding.

Owner was listening to a song while he was programming and explained to me how to use conditionals. He told me that a conditional inserts a condition (whoah, big surprise) that an object has to fulfill in order to continue down a programmed pathway. 

Here’s an example:

What the “if” statement does is that it conditions a part of the program to run only if a condition is fulfilled. 

If I input boy to the program, it shows what it was printed

If I input turtle to the program, it doesn’t work.

Here’s a video that helps turtles like me learn a little bit more about the topic. <3