Computer Science, asked by ASweety1431, 1 year ago

Hello frnds.!!! need ur help plsss help me.......

Write a program to read today's date (only del part) from user. then display how many days are left in the current month.

Plssss frnd help me ...:(


mummasdollmuski: ....
Viratdon: ....????
mummasdollmuski: Nothing i just wanted to follow this question....
mummasdollmuski: to answer the question.....if it hadn't been answered
mummasdollmuski: but at present i am quite busy ....so i can't

Answers

Answered by arpit281
3
# Python Program to check 

# if a date is valid or not

  

import datetime

def date_validation(day, month, year):

      

    isValidDate = True

      

    try :

        datetime.datetime(int(year), 

                          int(month), int(day))

          

    except ValueError :

        isValidDate = False

          

    if(isValidDate) :

        print ("Yes")

    else :

        print ("No")

  

date_validation(10,12,2000) 

date_validation(31,11,2000


simmii1431: heyy
simmii1431: can u help me ???
simmii1431: plz
Answered by shreyas583815
0
Computer is in a cord for the phone
Similar questions