We have just successfully launched our tiny Python application using a python container and terrorist
command that was used for that Docker.
It means that we run command from our client run we around specific container that I and the options
are tailored that we open interactive session with salad to tie it to specific brought this inside of
the container.
And despite the three brought us next week map volume here we use debatable and here inside of the container
we have specified that we want to map but this volume 2 up folder inside of the container also will
specify it walk in directory inside of the container.
Next here was image name.
And finally we have overridden default command default command is Python 3.
And we have told in this command that we want to execute this file using Python 3 instead.
And we have got a result and now is challenge time
it doesn't matter actually where's our you know Python or not.
This challenge is very simple and you will be able to accomplish it for sure.
Just do summary storage and afterwards create custom application name of this application is calendar
and you need to create the new file inside of the Python folder with the name calendar up don't be y
and you will run this calendar up the UI file using Python 3 interpreter same as we did that was Hello
rolled by a file it means that if I click terminal you will need to execute this file like so instead
the killer world will be a calendar this up and if you'll run this file you will see full and prompt.
Welcome to the calendar obligation.
And next you'll see prompt please enter any.
Let me enter for example 2000 225 like so.
Next please enter any month number for 1 deal.
Well let's enter 10.
And after getting those two numbers from input 2025 it is a year and then is a month number.
This program will bring the site you month view it is October 2025.
In my case and afterwards it will print.
Have a nice day and terminate brought us and of course afterwords if I list the containers that are
currently run I will see empty output because of this container did its job and it was terminated.
Small hint for this tiny program you will need to use the calendar module that is actually built into
the python module.
I wish you good luck.
And next I'll give you a solution to this challenge.
See you next.
Bye bye.