In the code block #9 there is the following code at the end of the block:
# These two lines of code use a for loop within what is call dictionary
# comprehension (creating dictionaries on the fly using a loop).
# We will get back to loops during the next hour. But, for now, this provides
# wiki links in case you want to know about these proteins.
wiki_dict = {gene: f"https://en.wikipedia.org/wiki/{gene}"
for gene in histone_prot_genes}
wiki_dict
Multiple participants had confusion about the var gene. The var is then used again in code block #11 with a new value assigned to it, and participants were confused about how the new value got there and what happened to the old value. Participants were also confused in general about the idea of list compression. We do not introduce for loops to the next hour.
Possible solutions:
1. change var name gene to something else
2. remove the wiki links all together