A condition for a range of views

Fill in the blanks · Basic · §5.5 Combining conditions

A post is picked as a recommendation candidate only if it has 100 or more views but fewer than 1000, and it is not an ad. Fill in the blank that checks the range of views.

Code with blanks

views = 350
is_ad = False
pick = ____ and not is_ad
print(pick)

Solve this problem in your browser

Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.