Closed stephenfmann closed 2 years ago
self.mixingbowls is a dict with integer keys, but the integers should start from 1.
self.mixingbowls
Change e.g. line 186, addingredient(), so instead of int(mixingbowl[:-2])-1 it's just int(mixingbowl[:-2]).
addingredient()
int(mixingbowl[:-2])-1
int(mixingbowl[:-2])
Also change e.g. line 253, key = mixingbowl[:-2] to be key = int(mixingbowl[:-2]).
key = mixingbowl[:-2]
key = int(mixingbowl[:-2])
Do the same with baking dishes.
self.mixingbowls
is a dict with integer keys, but the integers should start from 1.Change e.g. line 186,
addingredient()
, so instead ofint(mixingbowl[:-2])-1
it's justint(mixingbowl[:-2])
.Also change e.g. line 253,
key = mixingbowl[:-2]
to bekey = int(mixingbowl[:-2])
.