Python Taskbook Level 1.2
Given a number, output the first digit of this number to the console.
Given a number, output the last digit of this number to the console.
Given a number, output to the console the sum of the first and last digits of this number.
Given a number. Output the number of digits in this number.
You are given two numbers. Check that the first digits of these numbers match.
Given a list:
[1, 2, 3, 4, 5, 6]
Get the following slice from it:
[1, 2, 3]