Premium Only Content
012 - Python ejercicios w3 - Print the calendar of a given month and year
012 - Python ejercicios w3 - Print the calendar of a given month and year
En este ejercicio usamos el modulo "calendar" para imprimir un calendario en la consola.
Con la función "calendar.month(año, mes)"
Se imprime un calendario en varias lineas.
Se puede determinar que tan separados se imprimen las lineas y caracteres
Con la función "calendar.month(año, mes, w=n, l=n)"
Link de mi Jupyter Notebook en Github:
https://github.com/javier-cantu/LearningPython/blob/master/w3resource_python_ex/012%20Print%20the%20calendar%20of%20a%20given%20month%20and%20year.ipynb
--------------------------
Link del ejercicio:
https://www.w3resource.com/python-exercises/python-basic-exercise-12.php
Documentación de Python sobre Calendar:
https://docs.python.org/3/library/calendar.html
--------------------------
Jupyter ShortCuts
Insert:
a = Incert Cell Above
b = Incert Cell Below
Cell:
Shift + Enter = Run Cells and Select Below
d,d = Delete cell
Cell Type:
y = Code
m = Markdown
Kernel:
Restart = 0,0
-
2:11:28
DeVory Darkins
4 hours agoLIVE NOW: 2025 Election results and Exit Polls AMA
48.5K40 -
LIVE
DLDAfterDark
3 hours ago $0.03 earnedJust Another Tuesday - In Virginia - The Governor's Race & Glock Talk
101 watching -
3:21:38
The Charlie Kirk Show
6 hours agoJUDGMENT DAY 2025: The Election Results Stream
175K75 -
3:51:07
MattMorseTV
7 hours ago $0.77 earned🔴Election Day LIVE COVERAGE.🔴
85.6K47 -
1:16:51
Flyover Conservatives
23 hours agoSHOCKING DATA REVEALS: Young Voters Are Done With the Old GOP - Mark Mitchell, Rasmussen Reports | FOC Show
32.7K16 -
1:15:28
Sarah Westall
6 hours agoGrooming is Protected and Encouraged by the System – Michelle Peterson and Mike Adamovich
29.2K10 -
4:00:13
Akademiks
4 hours agoKendrick tries to Flip the Bots on DRAKE? WHo Beats Jay z in a verzuz. Blueface finally free!
33.5K6 -
1:38:16
Professor Nez
9 hours ago🚨ELECTION NIGHT 2025 LIVE! Massive Upsets Brewing in New York, New Jersey & Virginia!
30K9 -
4:48:50
Due Dissidence
12 hours agoLIVE: ELECTION RESULTS From NYC, NJ, and VA - Trump Approval CRATERS, Kash's Private Jet CRASH OUT
49.4K20 -
12:50
Demons Row
5 hours ago $0.05 earnedBikers of New Jersey 💀🏍️ Pagans, Thunder Guards, and Thug Riders
24.1K6