Python Taskbook Level 1.3
Given a string, if there is more than one character in the string, print the second to last character of the string to the console.
Given two integers, check that the first number is divisible by the second without remainder.
Given a string:
'abcde'
Get a list of its symbols:
['a', 'b', 'c', 'd', 'e']
Given a list:
[1, 2, 3, 4, 5, 6]
Get the following slice from it:
[3, 4, 5]
Given a dictionary with a date:
{
'year' : '2025',
'month': '12',
'day' : '31',
}
From the elements of this dictionary, assemble a date in the following format:
'2025-12-31'