Python Taskbook Level 5.2

Задание 1

Ask the user to enter a date in the format year-month-day. Check if the value entered is correct.

Задание 2

Ask the user to enter an integer via the console. Check if the value entered is correct.

Задание 3

Write a program that will generate the following string:

python'12345'
Задание 4

There is a certain list given, for example, this one:

python[1, 2, 3, 4, 5, 6]

Output to the console the sublists of two elements of our list one by one:

python[1, 2]
[3, 4]
[5, 6]