Hi everyone,
so I’m creating my 1st skill path project and wanted to post. I didn’t get it all right …still working on it.
Finding myself over stimulated so code community have at it.
HELP!
#>>>>create an app that counts how many pairs of shoes are in your closet. #numbers from 1-13
#seperate them by brand. #List name brand and how many #create a list.
This would appear to be only a corresponding list. There are five brands, so there should be five values in this list (or tuple).
shoes_in_closet = (4, 2, 4, 3, 0)
The only issue with using a tuple is it cannot be mutated like a list. However, in their present state, the above two tuples can be merged into a single list:
pairing = []
for i in range(len(pairs_of_shoes)):
pairing.append((pairs_of_shoes[i], shoes_in_closet[i]))
The finished product should look something like this…
Nothing is preventing us from going back through tracks for review, redo and for practice. Once all the checkmarks are in place, we can still use the lesson space to practice or attempt different methods. The lesson checker is disabled at that point, so just don’t click Next. We can click Run as much as we want.