A Gnu/Linux operating system comes with a bunch of utilities that help with an everyday life. One of them is cal command that displays a calendar. Let’s try to mimic a fraction of its power. Write a program that prints a calendar for a given month that looks similarly to:
> cal Jun 2025 # shell command (output starts 1 line below)
June 2025
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Use it to tell on which day of the week you were born.
Alternatively, assume that the Gregorian calendar has been applied throughout the whole Common Era. Based on that say:
Try not to employ the built-in Dates module in your solution (unless you have to). Still, you may use it to verify your results, e.g. in order to know on which day did this year start just type:
import Dates as Dt
d = Dt.Date(2025, 1, 1)
Dt.dayname(d)
Wednesday
BTW. You may use the above day as your reference point.