Length of a set in Python

The length of a set can be found using the function len:

pythonst = {'a', 'b', 'c', 'd'}
print(len(st)) # 4
Задание 1

Given a set:

pythonst = {'x', 1, 'y', 2, 'z', 3, 'w'}

Find out the number of elements in it.

Задание 2

Given a set:

pythonst = {1, 2, 3, 4, 2, 1}

Find out the number of elements in it.