"""
sets
"""
# s = {1,2,3}
# t = {3,4,5}
# # s = set([1,2,3)]
# # t = set([ 3,4,5])
# print(s | t)
# print(s & t)
# print(s -  t)
# print(s ^  t)


"""
list comprehension
"""

# pares = []

# for num in range(1, 31):
#     if num % 2 == 0:
#         pares.append(num)

# print(pares)


# event = [num for num in range(1,31) if num % 2 == 0]
# print(event)

"""
dictionary comprehension
"""

# cuadrados = {}

# for num in range(1, 11):
#     cuadrados[num] = num**2

# print(cuadrados)


# squares = {num: num**2 for num in range(1, 11)}

# print(squares)

"""

"""
