Actually you can't learn much more about booleans in Codecademy, but if you let me explain:
This exersice mixes up variables and booleans, and usually the booleans are used inside if- statements or for and while loops. As an example
if 10 > 1 and 1 < 2:
print "10 is greater than 1 and 1 is smaller than two!"
Did you got it? At this example it checks if 10 is greater than 1 and 1 is smaller than 2.
if 10 > 1 or 3 < 2:
print "10 is greater than 2 or 3 is smaller than two!"
This is another thing that you must know:
If one or the other statement is right, it gives you the output, whatever it is.
if 10 not in range(15):
print "10 is not in the range of 15!"
So we are at the third boolean. This code simply checks, if 10 is not in range of 15. If it isn't, the code prints that "10 is not in the range of 15." Using booleans in variables is possible, too, but using them in cases like this is MUCH more casual. Hope you got the idea.