Understanding If Statements [Learning to Code with Karel]

Опубликовано: 03 Октябрь 2024
на канале: World Class Tech Ed
27,696
168

In this video, you will learn how to write a simple if statement using Karel, in CodeHS.com. #ifstatement #karel #codehs

We will solve two exercises:
* Is There a Ball
* Don't Crash

To learn how to program you need to learn how to use conditional statements. All conditional statements ask a question, that is answered with either TRUE or FALSE.

In Karel, these conditions are provided as FUNCTIONS that are stated like a question. The list of available conditions are listed in the Quick Docs and the Docs section in CodeHS.

If you found this to be helpful, please leave a comment, like the video and/or subscribe to this channel. Have a GREAT day.