Python Taskbook Level 5.8

Задание 1

Ask the user to enter a year. Get a list of dates for all Fridays ending in 13th in the year entered.

Задание 2

Given a string of words, sort the words in alphabetical order.

Задание 3

Given a line with a date:

python'2025-2-1'

Write code that will add zeros to the month and day if necessary:

python'2025-02-01'
Задание 4

Write a program that will generate the following string:

python'-1-2-3-4-5-'