How To Make Calendar In Python | Just In Three Lines OF Code!.. 🔥🔥

Опубликовано: 13 Октябрь 2024
на канале: CyberwarriorsAP
247
10

Hey Guys,
In this video I've show you how to make a calendar in python just in 3 lines of code..

For making calendar follow these steps:-
step 1 - import calendar
step 2 - use a variable to store value in it (suppose i am taking here a).
step 3 - store the value in variable 'a' like this-
a = calendar.month(2022,7)
step 4 - then use print to print 'a'.

Here's the code for you guys:-
import calendar
a = calendar.month(2022,7)
print(a)

---------------------------------------------------------------------------------------------------------------------------
Instead You Can Use This -

So, here's the code:-

import calendar
year = int(input (Enter the year"))
month = int(input ("Enter the month"))
print(calendar.month(year,month))

This code will also perform like the first one but this code is too lengthy than the first one. So I prefer to use first one.



You can use any of these both perform same function.


If you loved this video please subscribe for more..
Like and Share my videos and comment the pros and cons of this video.
For doing better from next time...
Please Give Your Valuable Feedback...🙏🙏🙏🙏


Stay Safe , Stay Healthy and Stay Tuned With CyberwarriorsAP...


----------------------------------------------------------------------------------------------------------------------
How To Make Calendar In Python
How To Make Calendar In Python
How To Make Calendar In Python
How To Make Calendar In Python
How To Make Calendar In Python
How To Make Calendar In Python
How To Make Calendar In PythonHow To Make Calendar In Python
How To Make Calendar In Python
How To Make Calendar In Python
How To Make Calendar In Python
How To Make Calendar In Python
Just In Three Lines OF Code
Just In Three Lines OF Code
Just In Three Lines OF Code
Just In Three Lines OF Code
Just In Three Lines OF Code
Just In Three Lines OF Code
How To Make Calendar In Python | Just In Three Lines OF CodeHow To Make Calendar In Python | Just In Three Lines OF CodeHow To Make Calendar In Python | Just In Three Lines OF Code
How To Make Calendar In Python | Just In Three Lines OF Code

@CyberwarriorsAP #CyberwarriorsAP