What is the best way to create a new empty list in Python?
l = []
or
l = list()
I am asking this because of two reasons:
- Technical reasons, as to which is faster. (creating a class causes overhead?)
- Code readability - which one is the standard convention.