value = whatever you want
if not value < 13.6:
print("Value is greater than or equal to 13.6.")
else:
print("Value is less than 13.6.")
hit the sign in botten or create new account
AI is a technology that can do thing that humans are doing. So in future humans don’t have to these AI will do it for us.
Answer:
import datetime
user = input("Enter date in yyyy,m,d: ").split(",")
int_date = tuple([int(x) for x in user])
year, month, day =int_date
mydate = datetime.datetime(year, month, day)
print(mydate)
x = mydate.strftime("%B %d, %Y was a %A")
print(x)
Explanation:
The datetime python module is used to create date and time objects which makes it easy working with date-time values. The user input is converted to a tuple of integer items, then they are converted to date time objects and parsed to string with the strftime method.