lst = [ ]
tpl = ( )
s = set( )
dct = { }
Empty List:
empty_list = []
Empty Tuple:
empty_tuple = ()
Empty Set:
empty_set = set()
Empty Dictionary:
empty_dict = {}
Alternatively, for the empty dictionary, you can use the dict() constructor as well:
empty_dict = dict()
0 Comments:
Post a Comment