A separate condition after the chain

Predict the output · Medium · §6.3 Many branches

This code sets a tier based on the number of followers. Predict the output without running the code.

Code

followers = 1200

if followers >= 1000:
    tier = "Gold"
elif followers >= 500:
    tier = "Silver"
if followers >= 100:
    tier = "Bronze"
print(tier)

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.