Lesson 3

Leave a comment
this sort of logical construct doesn't work exactly the way you might think. In this case it compares the following:

    int(T) > 15
    15 < 21

What I suspect you were going for is
    int(T) > 15 and int(T) < 21