A second check with the changed points
Predict the output · Medium · §6.2 Otherwise
This code gives a 100-point attendance bonus only to members with fewer than 1000 activity points, and then decides their benefits. Predict the output without running the code.
Code
points = 950
if points >= 1000:
print("No bonus")
else:
points = points + 100
print("Bonus applied:", points)
if points >= 1000:
print("Top member benefits")
else:
print("Regular member benefits")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.