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
Akademiks
27 minutes agoKendrick tries to Flip the Bots on DRAKE? WHo Beats Jay z in a verzuz. Blueface finally free!
932 watching -
LIVE
Professor Nez
5 hours ago🚨ELECTION NIGHT 2025 LIVE! Massive Upsets Brewing in New York, New Jersey & Virginia!
198 watching -
LIVE
Due Dissidence
8 hours agoLIVE: ELECTION RESULTS From NYC, NJ, and VA - Trump Approval CRATERS, Kash's Private Jet CRASH OUT
1,237 watching -
12:50
Demons Row
1 hour agoBikers of New Jersey 💀🏍️ Pagans, Thunder Guards, and Thug Riders
3.88K1 -
42:31
Stephen Gardner
5 hours ago🔥Old Obama Video RESURFACES - His Own Words CONDEMNED Him! Trump Gains MASSIVE Momentum!!
11.3K15 -
LIVE
LFA TV
23 hours agoLIVE & BREAKING NEWS! | TUESDAY 11/4/25
516 watching -
1:03:37
BonginoReport
3 hours agoElection Night Showdown Spotlight - Nightly Scroll w/ Hayley Caronia (Ep.170)
99.6K25 -
DVR
Edge of Wonder
3 hours agoSupernatural Forces & Giants Built Great Pyramid of Egypt
12.1K -
1:24:03
Kim Iversen
5 hours agoAn Islamist Socialist in NYC? The Panic Is Epic | Neocons To Tucker: 'Love Israel OR ELSE'
85.7K113 -
LIVE
Tundra Tactical
4 hours agoProfessional Gun Nerd Plays Battlefield 6
80 watching