# Lists
# ====================================
arr = ["monkey", "dog", "snake", "spider", "zebra"]
# print(arr[1])

# arr[1] = "dog"
# print(arr)

# arr.append("horse")
# print(arr)

# arr.pop(1)
# print(arr)

# # arr.pop(-3)
# # print(arr)

# arr.remove("spider")
# print(arr)

# arr.insert(1, "leopard")
# print(arr)


# print(len(arr))


print(arr)
arr.sort(reverse=True)
print(arr)



# arr_num = [8,6,54,32,13]
# print(min(arr_num))
# print(max(arr_num))

# print(min(arr))
# print(max(arr))


# TUMPLES
# ====================================

# tup = ("monkey", "dog", "zebra")
# print(tup[1])

# tup = list(tup)
# tup[1] = "cat"
# tup = tuple(tup)
# print(tup)



# DICTIONATIES
# ======================================
person = { 
  "first_name": "Mr",
  "last_name": "KhudaBakhsh",
  "age": 27
}



# print(person["first_name"], person["last_name"])

person["last_name"] = "John"
print(person)

person["job"] = "web dev"
print(person)
