Python Taskbook Level 3.2
Using include, create the following list:
[1, 3, 5, 7, 9]
Two tuples are given:
tpl1 = (1, 2, 3)
tpl2 = (4, 5, 6)
Combine these tuples into one:
(1, 2, 3, 4, 5, 6)
Two dictionaries are given:
dct1 = {
'a': 1,
'b': 2,
}
dct2 = {
'c': 3,
'd': 4,
}
Combine these dictionaries into one:
{
'a': 1,
'b': 2,
'c': 3,
'd': 4,
}
There is a certain list given, for example, this one:
[1, 2, 3, 4, 5, 6]
Divide the sum of the first half of the elements in this list by the sum of the second half of the elements.