Python Taskbook Level 4.7
You are given a list of numbers. Check that it contains a number that contains the digit 3.
The following structure is given:
lst = [
{
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.
Given a list:
[
'text1',
'text2',
'text3',
'text4',
'text5',
]
Make a line out of this list so that each list item is on a new line:
'''
text1
text2
text3
text4
text5
'''