re: What do you Google EVERY. SINGLE. TIME. and never just memorize? VIEW POST

VIEW FULL DISCUSSION
 

How to use grep and find.
Also when I write data = {} in Python, is this a set or a dict?

 

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

code of conduct - report abuse