help me pls

i want to make a text based game where u type in values and stuff happens

BUT

what i want is where can i store the values

because there will be alot of different ones like


networth = 1
money = $100
food = 500 bags


so i want it to be able to be easy to access when i need it

there will be alot like 50 or so


so how would i do this

a file or something

also where is some info on what u come up with

thanks