add([div(id=name) for name in names]) print(_html) Simple Document Tree You can modify the attributes of tags through a dictionary-like interface: header = div() header['id'] = 'header' print(header) Or the children of a tag though an array-line interface: header ...
some of tuples advantages:😐😙 1.The objects in tuples are more safe when compared to list or dictionary and hence they are commenly made into use 2.tuples are compiled faster when compared to list 29th Nov 2017, 6:14 AM VISHNU P.S + 16 Immutability means they can be used as ...