DEV Community

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

Collapse
z0al profile image
z0al

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) ;)