I know the use of list() is to convert a iterable to list. But a bit confused what to use while creating a new empty list.
num1 = mydict.get('num1', []) # example1
num1 = mydict.get('num1', list()) # example2
Here what is different between example1 & example2?