Iterables/Collections

Iterables/Collections

String β€œhello” or β€˜hello’

list [β€˜h’,’e’,’l’,’l’,’o’] or [1,2,3,4,5]

tuple ('1234')

set {'1234'}

dict(x=1,y=2,z="3")

Last updated