I am trying to create a dictionaryin python, but facing an Unresolved reference 'count' error.
dict = {"timestamp": 0.1, counter: 1}
i have noticed that when Im creating a variable name counter with any numeric value the error disappears.
I am using Pycharm 2020.2.2.
counter would need to be "counter"
dict = {"timestamp": 0.1, "counter": 1}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.