Question about exercise 41 in "Learn Python the hard way" book

Hi everyone,

I have a function to convert “%%%” ,"@@@" and “***” symbols in keys and values of a dictionary.This function is here:

Addition: WORDS is a list of random words that will be used to replace the symbols i told above.

I want to ask why we need to use random and join function in order to create “params_names” list when we can code it in the same way that we create “class_names” and “other_names” list?

Hey @Dat_Le, the best way to see this is to try your version. It’s a good exercise to see if your idea works and then find out why I did it that way.