Python Taskbook Level 2.5
Задание 1
Given a certain line, for example, like this:
python'023m0df0dfg0'
Get the set of positions of all zeros in this string.
Задание 2
Given a string:
python'abcdefg'
Remove every third character from this line. In our case, we should get the following:
python'abdeg'
Задание 3
There is a certain list given, for example, this one:
python[1, 2, 3, 4, 5, 6]
Divide the sum of the elements in even positions by the sum of the elements in odd positions.
Задание 4
The date is given in the following format:
python['2025', '12', '31']
Convert this date to the following tuple:
python('31', '12', '2025')