Python Taskbook Level 5.3

Задание 1

Ask the user to enter two integers via the console. Fill the list with integers from the minimum number entered to the maximum.

Задание 2

Ask the user to enter a date in the format year-month-day. Determine the day of the week that corresponds to this date.

Задание 3

Ask the user to enter a year. Determine whether it is a leap year or not.

Задание 4

Write a program that will generate the following string:

python'54321'
Задание 5

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

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

Swap pairs of elements in this list:

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