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
JdaDelete
2 hours ago $0.10 earnedFinal Fantasy VII Rebirth - Chapter 3
47 watching -
31:22
Solar Groove Muzic
14 hours ago $0.67 earnedAFRO HOUSE 2025 | Best of Afro House Sunset Mix
8.02K1 -
LIVE
Chi-Town Gamers Livestreams
2 hours ago $0.09 earnedBaldur's Gate 3 Ep. 15 W/ CTG & @XayRico | Pre-Show = COD & Variety Gaming Later
56 watching -
LIVE
ttvglamourx
3 hours ago $0.25 earnedGLAMOURX VS VALORANT LOBBIES !DISCORD
100 watching -
18:52
Stephen Gardner
22 hours ago🚨I CAN’T Believe What Happened To Trump!
52.8K525 -
8:22
nospeedlimitgermany
8 hours ago $0.27 earnedHonda Civic Type R EP3 | 200 PS | Top Speed Drive German Autobahn No Speed Limit POV
5.62K1 -
1:31:54
Barry Cunningham
6 hours agoBREAKING NEWS: PRESIDENT TRUMP INTERVIEW WITH MARIA BARTIROMO!
49.3K49 -
12:57
Bearing
6 hours agoFlorida Proposes ALLIGATOR ALKATRAZ 🐊 The Young Turks CRY About it 🤣
6.07K33 -
8:17
Damon Imani
22 hours agoDamon SCHOOLS The View Hosts For 8 Minutes Straight! | Best Moments Compilation Vol.14
3.87K6 -
9:59
Lacey Mae ASMR
19 hours ago $0.02 earnedASMR In Public! [Tapping, Scratching, Crinkling Sounds!]
4.38K