Python Taskbook Level 4.7
Задание 1
You are given a list of numbers. Check that it contains a number that contains the digit 3.
Задание 2
The following structure is given:
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),
},
];
Find the sum of the elements of this structure.
Задание 3
Given a list:
python[
'text1',
'text2',
'text3',
'text4',
'text5',
]
Make a line out of this list so that each list item is on a new line:
python'''
text1
text2
text3
text4
text5
'''