DEV Community

Discussion on: What do you Google EVERY. SINGLE. TIME. and never just memorize?

z0al profile image

This can't be a Set

data = {}

It's always a dictionary!
If you want an empty Set use:

data = set()

P.S. it's handy to use the official Python REPL and type type(youvariable) ;)