Computer Science, asked by jagdish1581, 9 months ago

Write a python program to read today's date from users. Then display how many days are left in the current month.

Answers

Answered by RewelDeepak
1

Explanation:

Current date and time ... g) Day of the month ... Write a Python program to subtract five days from current ...

Answered by abhinav1234567
1

import time

import datetime

print("Current date and time: " , datetime.datetime.now())

print("Current year: ", datetime.date.today().strftime("%Y"))

print("Month of year: ", datetime.date.today().strftime("%B"))

print("Week number of the year: ", datetime.date.today().strftime("%W"))

print("Weekday of the week: ", datetime.date.today().strftime("%w"))

print("Day of year: ", datetime.date.today().strftime("%j"))

print("Day of the month : ", datetime.date.today().strftime("%d"))

print("Day of week: ", datetime.date.today().strftime("%A"))

here's ur answer

hope this will help u out

plz mark it as BRAINLIEST

Similar questions