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