_Suraj_

Make_calendar_using_Python

Sep 27th, 2023
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. '''
  2. Enter only Year
  3. _________________
  4. '''
  5.  
  6. from calendar import*
  7. year=int(input("Enter Year:- "))
  8. print(calendar(year,3,2,8,1))
  9.  
  10. '''
  11. EXPLAIN
  12.  
  13. 2 = 2 characters for days(Mon, Tue, etc)
  14. 2 = 2 line(row) for each week
  15. 8 = 8 rows for each month
  16. 1 = 1 columns for all month of the Year
  17.  
  18. '''
  19. print("*Happy Coding*".center(65))
Tags: python
Advertisement
Add Comment
Please, Sign In to add comment