1

For now I'll mostly pick on how you do user input. In your first two functions, and then again in your main code, you build a complicated data structure with nested lists, only to ever need the elements in the list. Just, don't use that complicated structure. It might make sense to write a function that asks the user for input and evaluates it if needed: ...


Only top voted, non community-wiki answers of a minimum length are eligible