![]() It would be much better to pass that user input as a parameter.Īnother function that does too much is list_print. For example dict_maker gets input from the user (not specified in docstring). Several of your functions are doing too much work. Furthermore, you can even replace for item in word_master: with for item in look_up() word_master = look_up() should be contained in rank_check function.This is fairly uncommon practice, as it shadows a builtin. In list_print you assigned a dictionary using dict as its name.I'm a little short on time to look over the logic, so I will finish the rest later, but here's some quick observations. The task was to create something that would provide a list of the best possible words to play given a set of letters on your rack. This is a project I saw online that I tried to tackle today. I'm very new to coding and am trying to work through projects for practical review of what I know, but I would like to be able to simplify/improve what I've made.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |