####################################
# 25.1 Операции со списками
nums = [7, 7, 7, 7, 7]
nums[2] = 5
print(nums)
####################################
####################################
# 25.2 Операции со списками
nums = [1, 2, 3]
print(nums + [4, 5, 6])
print(nums * 3)
####################################
# 25.3 Операции со списками
words = ["spam", "egg", "spam", "sausage"]
print("spam" in words)
print("egg" in words)
print("tomato" in words)
####################################
# 25.4 Операции со списками
nums = [1, 2, 3]
print(not 4 in nums)
print(4 not in nums)
print(not 3 in nums)
print(3 not in nums)
####################################
