```
skill_point_count = 10
skill_dictionary = {"strength": 0, "agility": 0, "magicka": 0}
def spend_skills(skill_points):
print("""Type s if you want to spend your skill on strength,
Type a if you want to spend your skill on agility,
Type m if you want to spend your skill on magick""")
while skill_points > 0:
spend = input(f"You have {skill_points} skill points left")
if spend.lower() == "s":
skill_dictionary["strength"] += 1
print("Skill added for strength")
elif spend.lower() == "a":
skill_dictionary["agility"] += 1
print("Skill added for agility")
elif spend.lower() == "m":
skill_dictionary["magicka"] += 1
print("Skill added for magicka")
else:
print("Try again please")
skill_points += 1
skill_points -= 1
print(skill_points)
spend_skills(skill_point_count)
print(skill_dictionary.items())
print(skill_point_count)
```

OUTPUT:

```
Type s if you want to spend your skill on strength,
Type a if you want to spend your skill on agility,
Type m if you want to spend your skill on magick
You have 10 skill points lefts
Skill added for strength
You have 9 skill points lefts
Skill added for strength
You have 8 skill points left
Try again please
You have 8 skill points lefts
Skill added for strength
You have 7 skill points lefts
Skill added for strength
You have 6 skill points left
Try again please
You have 6 skill points leftss
Try again please
You have 6 skill points left
Try again please
You have 6 skill points lefts
Skill added for strength
You have 5 skill points lefts
Skill added for strength
You have 4 skill points left
Try again please
You have 4 skill points lefts
Skill added for strength
You have 3 skill points leftss
Try again please
You have 3 skill points left
Try again please
You have 3 skill points lefts
Skill added for strength
You have 2 skill points lefts
Skill added for strength
You have 1 skill points lefts
Skill added for strength
0
dict_items([('strength', 10), ('agility', 0), ('magicka', 0)])
10
```

How do I make it so `skill_point_count`

equals 0 after executing the function `spend_skills`

? I have been stuck on this for over 2 hours now and I just can’t. I feel like a complete idiot, thanks for the help.