This is my code:
now = datetime.now
print ("Today's date is, ")
print (now.strftime("%A, %D, %B, %Y"))
This is the issue I am getting:
AttributeError: 'builtin_function_or_method' object has no attribute 'strftime'
repl process died unexpectedly: exit status 1
I tried changing it to datetime instead of strftime but it still doesn't work. I do have the import datetime from datetime.
as mentioned in the first comment,
nowis a function.