Python - Standard Library Usage
This code tries to use the
What is the fix?
datetime module but causes an error:print(datetime.date.today())
What is the fix?
datetime module but causes an error:print(datetime.date.today())
datetime.date.today() without importing the datetime module, causing a NameError.import datetime at the top allows access to datetime.date.today().15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions