Remove All Elements from a Dictionary in Python

You can remove all elements from a dictionary using the clear method:

pythondct = {
  'a': 1,
  'b': 2,
  'c': 3
}

dct.clear()
print(dct) # {}
Задание 1

Given a dictionary:

pythondct = {
  'x': 1,
  'y': 2,
  'z': 3
}

Clean it up.

Задание 2

The following code is given:

pythondct = {
  1: 'text1',
  2: 'text2',
  3: 'text3'
}

dct.clear()
dct[4] = 'text4'
print(dct)

Tell me what will be output to the console.