Nivelul 4.7 al sarcinilor Python

Задание 1

Este dată o listă cu numere. Verificați dacă în ea există un număr care conține cifra 3.

Задание 2

Este dată următoarea structură:

pythonlst = [
  {
    1: (1, 2, 3),
    2: (1, 2, 3),
    3: (1, 2, 3),
  },
  {
    1: (1, 2, 3),
    2: (1, 2, 3),
    3: (1, 2, 3),
  },
  {
    1: (1, 2, 3),
    2: (1, 2, 3),
    3: (1, 2, 3),
  },
];

Găsiți suma elementelor acestei structuri.

Задание 3

Este dată lista:

python[
  'text1',
  'text2',
  'text3',
  'text4',
  'text5',
]

Transformați această listă într-un string astfel încât fiecare element al listei să fie pe o nouă linie:

python'''
  text1
  text2
  text3
  text4
  text5
'''