Question: Question 2 . 0 1 : The folder data _ mgta 4 0 3 / contains a file called bbb _ dct . pkl with

Question 2.01: The folder data_mgta403/ contains a file called bbb_dct. pkl with the data described above. Load the dictionary using pickle and assign the dictionary to a new variable bbb_dct. Also, create a new variable bbb_keys that contains a list with the names of all keys in bbb_dct .
import pickle
with open("enter-relative-path-to-file-here", "rb") as file:
bbb_dct = pickle.load(file)
bbb_keys =____ # create a list of dictionary keys
type(bbb_keys) # should return a list
Question 2.02: How many of BookBinder's customers identify as female? Assign
your result to a new variable `count_female`.
what levels does the "gender" variable have?
calculate the number of customers that are female
count_female =___

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!