Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Python for Kids!
You have completed Python for Kids!
Preview
Let's take a look at boolean literals True and False and how to use logic
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
here on out.
0:00
There are many times where we'll
want to ask a yes or no question and
0:00
then run different code based
on how the question's answered.
0:03
Booleans are named after their creator,
a mathematician named George Bool.
0:07
In George's algebra, he used ones
to represent the value true and
0:12
zeros to represent false.
0:16
And this is the reason you see
actors playing hackers and
0:18
movies dealing with ones and zeros.
0:21
There's a popular saying in this world
that says it's all ones and zeros, and
0:23
that's because it is.
0:27
Electrical circuits used in the computer
that you're using right now,
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up