Thanks for quick replies, I really appreciate it. Here is the full code:
BaseHealth = 100 BasePower = 100 BaseLuck = 100 def stats(): print("Health: " + str(BaseHealth), "Luck: " + str(BaseLuck), "Power: " + str(BasePower)) valid = {'1', '2', '3'} advantage = "" while True: advantage = input('Do you pick extra health [1], extra luck [2], or extra power [3]: ') if advantage not in valid: print('Try again...') else: print("Your stats have been updated. They are as follows:") break if advantage == 1: BaseHealth = 150 stats() elif advantage == 2: BaseLuck = 150 stats() elif advantage == 3: BasePower = 150 stats()Thanks in advance!