0

I have a final project for the current unit I'm in, and it is a choose your own adventure game, I'd like a set of stats for the player, but I'm not too sure how I would set a stats variable to several others.

if (choice == 'Knight'):
    stats = {
    SL = 9
    VIG = 12
    ATT = 10
    END = 11
    VIT = 15
    STR = 13
    DEX = 12
    INT = 9
    FTH = 9
    LCK = 7
        }
    print(stats)
shge
  • 21
  • 7
  • Don't. Use the one `stats` variable. If the question is about the syntax for a dictionary, look it up, or see the examples in the linked duplicate. – Karl Knechtel Oct 15 '22 at 05:16

0 Answers0