LearnPy Hub
← Modules & the Standard Library problems
Easy

Pretty Date

Read a date YYYY-MM-DD and print it like 05 March 2026 using datetime and strftime('%d %B %Y').

Input

One date.

Output

One line.

Sample 1

Input
2026-03-05
Output
05 March 2026

Sample 2

Input
2000-12-31
Output
31 December 2000
solution.py
Output appears here
Pretty Date · Python practice problem · LearnPy Hub