from random import randint
attributes = 5
stats = [randint(60, 80) for _ in range(attributes)]
Fireball = [12, 15, 28, 10, 5]
while True:
print('Stats up: ', *stats)
print('''
[1] - Strength
[2] - Dexterity
[3] - Intelligence
[4] - Wisdom
[5] - Charisma
''')
select = int(input('Select: ')) - 1
# check
for i in range(attributes):
stats[i] += randint(5, 15) if i == select else -randint(5, 15)
print('Stats up: ', *stats)
print('\n\t[1] - Fireball')
select = int(input('Select shoot: '))
if select == 1:
for i in range(attributes):
stats[i] -= Fireball[i]
#elif
#else
# check may be exit
elif not set(s).intersection(set()):
print('Нет спецсимволов')