healthPerc = 100 #как этой переменной принимать разные значения,в зависимости от условий выполненых раннее... count = 0 while (count < 1): cell_health = random.randint(0, 100) newHealth = count + cell_health count = count + 1 print('You lost - {0} health.\nYou health: {1}'.format(newHealth, (healthPerc - newHealth))) if (healthPerc - newHealth) > 50: print('Do you want continue?') if (healthPerc - newHealth) < 50: print('You loose!!!')` The healthPerc variable can be assigned one of 2 values. Tell me, how can I use one of them depending on the choice? Thank.