How do I subtract or add in a lists?
When I run the program below I get the message
print int(pool-strength)
TypeError: unsupported operand type(s) for -: 'list' and 'int'
# Character Development Dungeons and Dragons
# pool are the total points that I can use.
pool = [30]
choice = None
while choice !="0":
print \
"""
Character Development
0 - Exit
1 - Strength
"""
choice = raw_input("Choice: ")
print
# exit
if choice == "0":
print "Good-bye."
# Strength points
elif choice == "1":
strength = 0
strength = int(raw_input("How much strength points do you want?: "))
print int(pool-strength)
# some unknown choice
else:
print "Sorry, but", choice, "isn't a valid choice."
raw_input("\n\nPress the enter key to exit.")