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
-
LIVE
StoneMountain64
3 hours agoBattlefield's Easter Egg Phantom Project is STILL ALIVE
184 watching -
LIVE
LFA TV
10 hours agoLFA TV ALL DAY STREAM - WEDNESDAY 9/3/25
1,670 watching -
LIVE
freecastle
6 hours agoTAKE UP YOUR CROSS- Love...Light...TRUTH!
177 watching -
1:50:29
The Quartering
3 hours agoEpstein Victims To NAME People, Mutiny Over RFK Jr, Trump Turns On Warp Speed?
120K36 -
LIVE
Film Threat
21 hours agoMARVEL ZOMBIES! PLUS DEXTER RESURRECTION | Hollywood on the Rocks
86 watching -
1:06:51
Jeff Ahern
2 hours ago $0.50 earnedNever Woke Wednesday with Jeff Ahern
12.5K -
13:43
The Kevin Trudeau Show Limitless
7 hours agoClassified File 3 | Kevin Trudeau EXPOSES Secret Society Brainwave Training
24K4 -
10:04
Freedom Frontline
4 hours agoBernie Sanders EXPLODES After Starbucks CEO FIRES BACK With Truth
2.77K6 -
DVR
SportsPicks
4 hours agoCrick's Corner: Episode 75
7.91K -
1:06:30
LindellTV
3 hours agoMIKE LINDELL LIVE AT THE WHITE HOUSE
18.3K