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
-
55:51
PMG
1 day ago"Uncovering the Nature of God and Faith!"
289 -
15:09
Cooking with Gruel
1 hour agoLive in the kitchen!
7.68K -
1:00:40
The StoneZONE with Roger Stone
2 hours agoPresident Trump Makes Triumphant Return to Washington D.C. | The StoneZONE
17K2 -
LIVE
Tundra Gaming Live
3 hours ago🛑 Former F-16 Maintainer (Weapons) Plays War Thunder//F-16C and Gamblers Skin Grind🛑
170 watching -
1:40:25
Megyn Kelly
5 hours agoElon and Vivek Prepare For DOGE, Pete Hegseth to Pentagon, and Trump Goes to DC, with Bill Ackman
49.8K70 -
2:16:35
Melonie Mac
5 hours agoGo Boom Live Ep 28!
41.6K2 -
1:58:45
2 MIKES LIVE
10 hours ago2 MIKES LIVE #142 News Breakdown Wednesday!
22.3K -
18:06
Chrissy Clark
5 hours agoCNN Panel UNRAVELS Over Kamala Loss
15.7K11 -
1:05:34
Exploring With Nug
11 hours agoUnbelievable Discovery! Several Skulls Found In New Mexico Desert!
39K2 -
1:32:37
Redacted News
6 hours agoBOMBSHELL! Trump picks, Matt Gaetz, Tulsi Gabbard, Marco Rubio for his cabinet
155K444