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