I keep getting this error and i dont know how to fix it i need help.
ValueError: not enough values to unpack (expected 6, got 1)
This is how i load
with open('objs.pickle', "rb") as f:
money, hunger, thirst, energy, wanted, gun = pickle.load(f)
and this is how i save
with open('objs.pickle', 'ab') as f: # Python 3: open(..., 'wb')
pickle.dump([money, hunger, thirst, energy, gun, wanted], f)