if you don't mind, could you check this for me and see if i did it correctly? I'm not asking you to give me answers or anything like that, I just want to make sure i did this correctly. Here where the instructions:
Write a program to find out if 4th of July of this year has passed or not
Import DateTime from datetime
Get today’s date
Create variable named todays_date and use the .today() function on datettime
4th of July of the current year
Create variable july_4th and assign date time with attributes for the month, day and year of this years july 4th
Use if statement to determine if 4th july is less than todays date
Print july 4th has passed
If not print july 4th has not passed yet
this is all i need checked. thanks you.
i changed the if statement, is it better now? @Coder100
THANKS! @Coder100
np! Mark as correct answer? @dominicl645
@dominicl645
oh and btw just one more thing, your current july 4th doesn't seem very accurate (july is not october silly!)
no that is 3 weeks before my bday. the last part is the assignment i needed checked. @Coder100
ohh, ok @dominicl645
ugh now im starting to work with the "os" module. any hints or tips?
@RYANTADIPARTHI @Coder100
@dominicl645 whats the probleM?
Looks pretty good, except for one thing. July fourth has passed. Might want to fix that.
i changed the if statement, is it better now? @RYANTADIPARTHI
@dominicl645 yes, it is better. Everything looks good.
THANKS! @RYANTADIPARTHI
@dominicl645 np!
@dominicl645 :)