Questions on Dates








  • Given two dates find the no of days between them
  • Given the fact that 21-Aug-2021 is a Saturday find the day of 16-Jan-1970
  • 1-Jan-1970 was a Thursday, print its calendar. 
  • Given a month no and a year find the no of days in it
  • Given a month and a year find the no of Sundays in it.
  • What will be the date and day a full 100 days from any given date


Post a Comment

Me
Me
WhatsApp Contact Me on WhatsApp
×

📩 Today’s Programming Tip

✅ Python Tip: Use Counter from collections for frequency counting.
Example:
from collections import Counter
print(Counter(['a', 'b', 'a', 'c']))

🔗 Learn More

💡 Tip of the Day