# Lesson 17 solution: What's Next — Stepping into Python 3
# This is the completed version of lesson17-practice.py. The recap
# program runs as in the lesson, and the final message is built from
# the dictionary: "Coder finished with 30 points."

name = "Coder"
score = 0
for round in range(3):
    score = score + 10
    print(name + " has " + str(score) + " points.")
if score >= 30:
    print("Finished!")
player = {"name": name, "score": score}
print(player["name"] + " finished with " + str(player["score"]) + " points.")
