Python Taskbook Level 2.4
Задание 1
Given a string of letters and numbers, get the position of the first digit in that string.
Задание 2
Given a number, output to the console the number of even digits in this number.
Задание 3
Given a dictionary:
python{
'a': 1,
'b': 2,
'c': 3,
'd': 4,
}
Get a list of his keys:
python['a', 'b', 'c', 'd']
Задание 4
Given a string:
python'abcde'
Convert all odd letters of this line to uppercase. In our case, we should get the following:
python'AbCdE'
Задание 5
There is a certain line with the words:
python'aaa bbb ccc'
Capitalize the first character of each word in this line. In our case, it should look like this:
python'Aaa Bbb Ccc'
Задание 6
The date is given in the following format:
python'2025-12-31'
Convert this date to the following tuple:
python('31', '12', '2025')