Jan-06-2017, 01:57 PM
I want to build a multi-variable dictionary. Below is an abbreviated version:
I am using Pycharm, and when I keyed in the above (just getting started), I received an "unresolved reference" on the "BA", and I received an "expected end of statement" at the end of the } on the right.
Why the unresolved reference? Can a dictionary have 35 keys? Is the syntax of coding a multi-variable dictionary than having one variable?
As you may be able to tell, I am very new to Python.
thanks for looking
Table = {BA: 5000, 6000, 7000, 8000, 10000, .5, .6, .8, .5, .4}Ultimately, the Table will have about 40 keys and each one will have 35 variables.
I am using Pycharm, and when I keyed in the above (just getting started), I received an "unresolved reference" on the "BA", and I received an "expected end of statement" at the end of the } on the right.
Why the unresolved reference? Can a dictionary have 35 keys? Is the syntax of coding a multi-variable dictionary than having one variable?
As you may be able to tell, I am very new to Python.
thanks for looking