Views that go past the goal

Predict the output · Basic · §5.3 The language of true and false

As the views go up by 3 at a time, the code asks whether they have reached the goal of 100. Predict the output without running the code.

Code

views = 95
goal = 100
views += 3
print(views, views >= goal)
views += 3
print(views, views == goal)
print(views >= goal)

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.