# list
# is mutable (can change)
l = [1, 2, 3, 4, 5]
ls = ['bryan', 'summer', 'haileigh', 'logun']
# new_ls = sorted(ls)
# print(new_ls)
# for i in range(len(ls)):
#     print(str(i) + " " + ls[i])

for i, name in enumerate(ls):
    print(str(i) + " " + name)  

# res = zip(l, ls)
# print(list(res))

# ls.append('home')
# ls.sort(ls.reverse())
# print(list(ls))

# for lss in ls:
    # print(lss +  lss.join(','))
    # print(lss.strip('h'))
    # print(lss.splitlines(False))

# tuple
# not mutable (cannot change once it's been created)
t = (1, 2, 3, 4, 5)
ts = ('bryan', 'summer', 'haileight', 'logun')

# print(type(ts))

# for tpl in ts:
#     print(tpl.upper())
# print(type(tpl))
    

# dictionary
# sequence of key value pairs
d = {"a": 1, "b": 2, "c": 3}
# dictv = d.items()
# print(d.get('a'))


# set
# unordered set of unique values
s = {1, 2, 3, 4, 5}

# print(d)
