It's sort of a dynamic variable creation but I just want the name of the dictionary to be called what the user wants it to be called. Any help is appreciated. Thanks.
Asked
Active
Viewed 32 times
1
-
4Use a dictionary of user_input => data (data can be a dictionary itself!), not "dynamic variables". The user ***should not care*** what the actual dictionary variable is called unless they are doing something source-code related. If this is case, make sure it is explicitly discussed. – user2864740 Dec 03 '18 at 19:43
-
1Welcome to Stackoverflow. Please complete your [tour] and consult the [ask] section and the [help] to understand what is the expected question format. Namely a [MCVE] of your attempt and the input/output. – r.ook Dec 03 '18 at 19:43
-
Are you sure this isn't an [X/Y problem](https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem)? What are you trying to achieve and why? What have you tried so far? – David Zemens Dec 03 '18 at 19:45
-
You should not use dynamic variables. – juanpa.arrivillaga Dec 03 '18 at 19:53
-
I'm trying to create multiple to do lists that can called to add or remove items from them. – IcePJ Dec 03 '18 at 19:56